Excel Question

el-Capitan

Senior member
Apr 24, 2012
572
2
81
Gents.

In Excel 2013, if i use "=" to point to another cell, it will take that target cell's value. However, if that target cell is empty, he'll take a "0", which in itself is a value as opposed to "empty".

How can I avoid this? I need the cell to be empty if there is no value in the target, otherwise this zero is an input to a formula.

The workaround, having the formula ignore a "0", is not an option as "0" is very well a likely input...

Hope I've made myself understandable -

Thanks.
 

MerlinRML

Senior member
Sep 9, 2005
207
0
71
If I understand the question correctly, maybe something like this would work.

Code:
=IF(NOT(ISBLANK(A1)),A1,"")

If the source cell is not empty, use it's value. Otherwise, make the target cell empty.
 

el-Capitan

Senior member
Apr 24, 2012
572
2
81
If I understand the question correctly, maybe something like this would work.

Code:
=IF(NOT(ISBLANK(A1)),A1,"")

If the source cell is not empty, use it's value. Otherwise, make the target cell empty.

Yes! That works. Bravo! Thank you very much.