ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   remove #DIV/0! (https://www.excelbanter.com/excel-worksheet-functions/94134-remove-div-0-a.html)

Dopase via OfficeKB.com

remove #DIV/0!
 
I tried some of the options given at other formula's but I couldn't get it to
work. I have this formula:

=SUM(Q76:Q77)/SUM(Q76:Q78) and i get the #DIV/0! can some one help me ?

--
Don Seegers

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1

Bob Phillips

remove #DIV/0!
 
=IF(SUM(Q76:Q78)=0,"",SUM(Q76:Q78))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Dopase via OfficeKB.com" <u17562@uwe wrote in message
news:61cdd07e0f755@uwe...
I tried some of the options given at other formula's but I couldn't get it

to
work. I have this formula:

=SUM(Q76:Q77)/SUM(Q76:Q78) and i get the #DIV/0! can some one help me ?

--
Don Seegers

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1




Pete_UK

remove #DIV/0!
 
You get this error when you are trying to divide by zero, so you need
to test for this and avoid it - here's how:

=IF(SUM(Q76:Q78)=0,0,SUM(Q76:Q77)/SUM(Q76:Q78))

i.e. if the divisor is zero then return zero (or some other
value/message) otherwise evaluate the formula (which might still equate
to zero if SUM(Q76:Q77) evaluates to zero).

Hope this helps.

Pete

Dopase via OfficeKB.com wrote:
I tried some of the options given at other formula's but I couldn't get it to
work. I have this formula:

=SUM(Q76:Q77)/SUM(Q76:Q78) and i get the #DIV/0! can some one help me ?

--
Don Seegers

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1



Bruno Campanini

remove #DIV/0!
 
"Dopase via OfficeKB.com" <u17562@uwe wrote in message
news:61cdd07e0f755@uwe...
I tried some of the options given at other formula's but I couldn't get it
to
work. I have this formula:

=SUM(Q76:Q77)/SUM(Q76:Q78) and i get the #DIV/0! can some one help me ?

--
Don Seegers

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1


=IF(SUM(Q76:Q78),SUM(Q76:Q77)/SUM(Q76:Q78),"")

If SUM(Q76:Q78) = 0, you get Nothing. You can't get 0!

Bruno



Bob Jeffery

remove #DIV/0!
 
Try...

=If(IsError(SUM(Q76:Q77)/SUM(Q76:Q78)),0,SUM(Q76:Q77)/SUM(Q76:Q78) )

"Dopase via OfficeKB.com" wrote:

I tried some of the options given at other formula's but I couldn't get it to
work. I have this formula:

=SUM(Q76:Q77)/SUM(Q76:Q78) and i get the #DIV/0! can some one help me ?

--
Don Seegers

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1



All times are GMT +1. The time now is 01:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com