Question: Merging two columns; only overwriting blank cells

Kimb

New Member
Joined
Dec 19, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi, I was search online and found old thread Merging two columns; only overwriting blank cells with the solution below which works great but only if I type in the =K7 formula in each cell. I will have 1000's of blank cell after I do a Xlookup. Is there anyway to get the formula to auto fill all the blank spots? I know there are Macro out there and honestly I don't use marco's much because I normal deal with over a 100 columns and 1000's or rows and I have not learned enough about Marco's to be rewriting them daily to fix each new situation. Thank you for any advance you can offer. Kim

Select the whole range of column C.
Press control+G (goto)
Press alt+S (special)
Press k (blanks)
Press enter (ok)
Press the equals sign
Press the left arrow on the keyboard
Press control+enter

The effect is that all cells in column C that are blank, are filled with the value in column B... After, you will have formulas in there so you may want to copy and paste values on column C.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
That procedure works for me. Make sure you pressing ctrl-Enter (not just enter) as the last step
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top