Hi ....................,
I generated random data for K16, K17, K40 and I get space
D24: =IF(-K17>=K16,-K17-K16-K40," ")
22 D25: =K16
33 D26: =K17
4 D27: =K40
0 D24: =IF(-K17>=K16,-K17-K16-K40," ")
0 D25: =K16
0 D26: =K17
0 D27: =K40
formula is same as
=IF((-K17)>=K16, (-K17)-K16-K40," ")
too much guesswork, no name (anonymous) , none descriptive subject
and above all what values do you have for K17, K16, K40.
Also Excel keeps track of more decimal places that you see and
there are also base 2 base 10 considerations
Depends on the language, but Excel refers to a blank as an
empty cell and an empty cell can never be empty. So you might
want to say space rather than blank when talking about Excel.