0
So annoyed I can't find a simple answer to this simple question!
I'm using OpenOffice Calc. I want a formula which will detect if the cell is blank, and if it is to replace it with the contents in the cell above it.
I guess the best way to do this is create a new blank column, put formulae in there. Then copy the formula results and paste into original column as plain text.
Column A : Column B (formula column)
Joe Joe
Bloggs Bloggs
Mack Mack
Mack
Mack
Peter Peter
John John
John
Joe Joe
Something like this:
=IF(A2="",A1)
or =IF(ISBLANK(A2);A1)
Can't seem to get formulae to work and I only get an error (err:508 / err:509).
Have you thought about a macro? – BrianA – 2014-09-18T10:00:43.667
I'm not really that knowledgeable with Macros :( Although I don't see why the above wouldn't work just as good... – Patrick Keane – 2014-09-18T10:28:03.097
Me either but I know they can do repetitive tasks within a range so sound like your answer. We await the experts:) – BrianA – 2014-09-18T10:31:31.090
Verify that OO Calc allows you to leave off the last argument. Either =IF(A2-"",A1,A2) or =IF(ISBLANK(A2),A1,A2) should work. One other thing to check: just learned that OO Calc does some unique things with formula delimiters (";" instead of "," in some cases). Verify that in your formulas. – fixer1234 – 2014-12-24T04:35:10.630