Copy formula down a table column, but skip used cells in that column

sspatriots

Well-known Member
Joined
Nov 22, 2011
Messages
569
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm not sure this is even possible and I'm at a loss on where to start on this one. I have a table column that I need to copy a formula down, but only into the blank cells in that table column. If there is a value in that column I don't want the formula to overwrite what is in that cell. Any ideas on how I can do this would be greatly appreciated.

A little background: The formula is a Vlookup reference to find a date in another spreadheet that I have imported as a table. The person that owns the source worksheet I'm pulling from moves that data off this worksheet to another worksheet in the same workbook when a job has shipped. Therefore, when they do that my date will be gone from my workbook if I were to just copy the formula all the way down my column if a job has shipped.



Regards, Steve
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Have you considered a new column in the table for that formula? and wrap that formula with an if reading the existing column for blanks or not?
IF(VALUEINOLDCOLUMN="",NEWFORMULA,VALUEINOLDCOLUMN)?
 
Upvote 0
Solution
Are the blank cells completely empty or do they contain "" from the result of an existing formula?
If it is from a formula, can you post the current formula for the column?
If the column in question are just constant values, please confirm that.
Are the dates 'true' dates (numbers) or text values?
Are you looking to do this manually or by a macro?
 
Upvote 0
I'm glad that I am not the only with followup questions.
 
Upvote 0
Have you considered a new column in the table for that formula? and wrap that formula with an if reading the existing column for blanks or not?
IF(VALUEINOLDCOLUMN="",NEWFORMULA,VALUEINOLDCOLUMN)?
That worked exactly as I needed. Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,376
Members
449,080
Latest member
Armadillos

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