I want to know if there is a way to do this conditional in excel or open office:
if the cell is empty then
the cell will have the same value as the cell above it
else
do nothing.
Should I use a macro for this? Please help me out; I have very little experience with Excel.
c 1 | 10/21/2011
c 2 |
c 3 |
c 4 | 10/24/2011
c 5 |
c 6 |
c 7 | 10/25/2011
c 8 |
c 9 |
c10| 10/26/2011
Select the range that contains blank cells you need to fill.
Click Home > Find & Select > Go To Special…, and a Go To Special dialog box will appear, then check Blanks option.
Click OK, and all of the blank cells have been selected. Then input the formula “=B2” into active cell B3 without changing the selection. This cell reference can be changed as you need.
Press Ctrl + Enter, Excel will copy the respective formula to all blank cells.
At this point, the filled contents are formulas, and we need to convert the formals to values. Then select the whole range, right-click to choose Copy, and then press Ctrl + Alt + V to active the Paste Special… dialog box. And select Values option from Paste, and select None option from Operation.
Then click OK. And all of the formulas have been converted to values.