IF cells are empty

R

RayD

Hello everyone,

I have the need to blank a cell (J8) if "either" of the two cells to it's
left (H8 and I8) are empty. I have tried to expand off of the following but
with no success.

=IF(H8:I8=0,"",SUM(H8-I8))

Can anyone shed some light on this?

Thanks
...Ray

...Ray
 
R

RayD

Thanks Very much Aladin



=IF(COUNTBLANK(H8:I8),"",H8-I8)

RayD said:
Hello everyone,

I have the need to blank a cell (J8) if "either" of the two cells to it's
left (H8 and I8) are empty. I have tried to expand off of the following but
with no success.

=IF(H8:I8=0,"",SUM(H8-I8))

Can anyone shed some light on this?

Thanks
..Ray

..Ray

...Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top