[Solved] Make a formula cell blank

Discuss the spreadsheet application
Post Reply
TxWarren
Posts: 12
Joined: Sun Jan 03, 2016 8:20 pm

[Solved] Make a formula cell blank

Post by TxWarren »

Greetings,

On a simple checkbook Calc Spreadsheet, I would like the Balance column blank EXCEPT for the current cell/balance. Once I add a transaction, the new balance should appear.

Is there an ISBLANK IF formula?

Thank you in advance.
Attachments
ooblank.jpg
Last edited by TxWarren on Sun Dec 04, 2016 7:09 pm, edited 1 time in total.
Using Open Office 4.1.3
Windows® 10 Home
Intel Pentium® N3540 2.16GHz
8 GB DDR3 RAM
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Make a formula cell blank

Post by RusselB »

You can't use a formula to make a cell return a literal blank.
You can use a formula that will return something that makes the cell appear blank.

There is an ISBLANK function, which can be combined with the IF function.
Personally, I use

Code: Select all

=if(and(e3="";f3="");"";sum($f$2:$f3)-sum($e$2:$e3))
in G3
column references have been adjusted for what you show in the picture, but row references may need to be adjusted for your actual rows

Personally I like using the ="" rather than ISBLANK. If you prefer to use ISBLANK then the above formula would become

Code: Select all

=if(and(isblank(e3);isblank(f3));"";sum($f$2:$f3)-sum($e$2:$e3))
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
TxWarren
Posts: 12
Joined: Sun Jan 03, 2016 8:20 pm

Re: Make a formula cell blank

Post by TxWarren »

Thanks, Worked great!

Warren
Using Open Office 4.1.3
Windows® 10 Home
Intel Pentium® N3540 2.16GHz
8 GB DDR3 RAM
Post Reply