Function Correction Help

S

Syd

I have this formula in a cell: =((AG11+AH11)-(X11+Y11))*24*60*60/(AI11-Z11). The result if there is no data is: "#DIV/0!". I would like to have an empty string, 0, or show no value at all if the dependant cells are empty

Is this possible

Thanks,
 
D

Dave R.

You can add

IF(AI11-Z11=0,"",((AG11+AH11)-(X11+Y11))*24*60*60/(AI11-Z11))

(havent tested it). the 24*60*60 thing seems unneccessary, but hey.




Syd said:
I have this formula in a cell:
=((AG11+AH11)-(X11+Y11))*24*60*60/(AI11-Z11). The result if there is no data
is: "#DIV/0!". I would like to have an empty string, 0, or show no value at
all if the dependant cells are empty.
 

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

Similar Threads


Top