If blank cell, copy information from cell above

  • Thread starter Thread starter Oceangate
  • Start date Start date
O

Oceangate

I am using a PC and working on Excel 2003. I have a spreadsheet and have
random blank cells. Everywhere there is a blank cell, I want to copy the
information from the cell directly above it. This information could be a
persons name, date or number. For example if my cursor is in cell A10:
IF A10 is blank, copy A9, else, don't copy.
How do I put this formula in the spreadsheet so that I can have the blank
cells filled with the information from the cell above and at the same time
not affect the information already there?

Thanks in advance for your help.

Peter
 
You say you want to copy the cell, but you don't say where you want it
pasted. Also, there are lots of blank cells around your actual data. What
is the range of your data in which you want to do this? And what if the
cell above an empty cell is also blank? HTH Otto
 
Type a formula in any of the unused cell. say(J2). The formula would be =J1.
Copy the cell (not the formula).
Keeping your copy in clipboard. Select your data range.
Press F5>From Goto window select blanks. Click OK
This should select all blanks..
Now, right click>PasteSpecial>Formulas> OK


If this post helps click Yes
 
Hi,

Select the range and press Ctrl+G and then click on Special > Blanks. Now
all the blank cells will be selected and the first blank cell will be the
active cell. Now type =, then the up arrow key and then Ctrl+Enter

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
Back
Top