divide by zero

B

belliotb

i have 2 cells: f4 and f8 on status spreadsheet. they may not be populated,
(have a value in the cell), all the time. need a formula that will calculate
when only both of them are populated. and not return a #div/0!, divide by
zero error. when neither or only one of those cells are populated
 
J

joeu2004

belliotb said:
i have 2 cells: f4 and f8 on status spreadsheet. they may
not be populated, (have a value in the cell), all the time.
need a formula that will calculate when only both of them
are populated. and not return a #div/0!, divide by zero error,
when neither or only one of those cells are populated

=if(or(f4="", f8="", f8=0), "", f4/f8)
 
B

belliotb

To everyone - Thank you very much. Was running out of time to have my status
sheet ready for todays afternoon meeting. Was being pulled in to many
directions to get my thought processes coordinated. Thanks again! ! !
 
Top