![]() |
Remove the #DIV/0!
I am using the formula:
=AVERAGE(D4:D13,H4:H13,L4:L13) in Cell D15. But when there is NO data in those cells, how can i set the formual above to display NOTHING rather than "#DIV/0!" ? Corey.... |
Remove the #DIV/0!
Remove the cause, in those cells with the errors change the formula
=IF(A2=0,"",A1/A2) replace with your data accordingly -- Regards, Peo Sjoblom Excel 95 - Excel 2007 Northwest Excel Solutions www.nwexcelsolutions.com (Remove ^^ from email) "Corey" wrote in message ... I am using the formula: =AVERAGE(D4:D13,H4:H13,L4:L13) in Cell D15. But when there is NO data in those cells, how can i set the formual above to display NOTHING rather than "#DIV/0!" ? Corey.... |
Remove the #DIV/0!
Thanx.
Ended up with: =IF(SUM(D4:D13,H4:H13,L4:L13)<0,AVERAGE(D4:D13,H4 :H13,L4:L13),"") Corey.... "Peo Sjoblom" wrote in message ... Remove the cause, in those cells with the errors change the formula =IF(A2=0,"",A1/A2) replace with your data accordingly -- Regards, Peo Sjoblom Excel 95 - Excel 2007 Northwest Excel Solutions www.nwexcelsolutions.com (Remove ^^ from email) "Corey" wrote in message ... I am using the formula: =AVERAGE(D4:D13,H4:H13,L4:L13) in Cell D15. But when there is NO data in those cells, how can i set the formual above to display NOTHING rather than "#DIV/0!" ? Corey.... |
Remove the #DIV/0!
May be better to have
=IF(COUNT(D4:D13,H4:H13,L4:L13)<0,AVERAGE(D4:D13, H4:H13,L4:L13),"") then you can cope with the case where the total, and therefore the average, is zero. -- David Biddulph "Corey" wrote in message ... Thanx. Ended up with: =IF(SUM(D4:D13,H4:H13,L4:L13)<0,AVERAGE(D4:D13,H4 :H13,L4:L13),"") "Peo Sjoblom" wrote in message ... Remove the cause, in those cells with the errors change the formula =IF(A2=0,"",A1/A2) replace with your data accordingly "Corey" wrote in message ... I am using the formula: =AVERAGE(D4:D13,H4:H13,L4:L13) in Cell D15. But when there is NO data in those cells, how can i set the formual above to display NOTHING rather than "#DIV/0!" ? |
All times are GMT +1. The time now is 04:20 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com