Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 925

Returning a blank cell (not an empty string) from an IF in Excel

$
0
0

Currently I have an Excel formula which reads:

=IF(ISBLANK(F24),"",F24*$C24)

However, if F24 is blank, this formula does not return an empty cell. It returns an empty string, which causes a #VALUE error if there is any arithmetic formula operating on the column.

The arithmetic will work if the formula is changed to:

=IF(ISBLANK(F24),,F24*$C24)

But then the cell is shown containing a zero, which makes a mess of the spreadsheet since it contains sparse data.

Can an IF statement specify that a cell should be considered zero-empty on a given condition?


Viewing all articles
Browse latest Browse all 925

Trending Articles