#1   Report Post  
Anthony
 
Posts: n/a
Default Remove #DIV/0! error

Hi,
Can anybody please tell me how to remove the #DIV/0! error when my cells
show a 'zero' value.

I have a calculation in cell W7 which is =SUM(U7/T7)*100

where U7 has a calculation of =SUMPRODUCT(--A$3:$A$1000=1),--($N3$N$1000="Y"))

where W7 has a calculation of =SUM(U7/T7)*100

I think it is something to do with the 'IF' statement but can't work it out

thanks in advance

Anthony
  #2   Report Post  
Anthony
 
Posts: n/a
Default

hI ALL,
Think I have answered my own question,
but thanks anyways

"Anthony" wrote:

Hi,
Can anybody please tell me how to remove the #DIV/0! error when my cells
show a 'zero' value.

I have a calculation in cell W7 which is =SUM(U7/T7)*100

where U7 has a calculation of =SUMPRODUCT(--A$3:$A$1000=1),--($N3$N$1000="Y"))

where W7 has a calculation of =SUM(U7/T7)*100

I think it is something to do with the 'IF' statement but can't work it out

thanks in advance

Anthony

  #3   Report Post  
Kassie
 
Posts: n/a
Default

If you copied your formula in U7 correctly, then that is where your problem
lies.
$N3$N$1000need a ":" between the 3 and the $N to be recognised.

"Anthony" wrote:

Hi,
Can anybody please tell me how to remove the #DIV/0! error when my cells
show a 'zero' value.

I have a calculation in cell W7 which is =SUM(U7/T7)*100

where U7 has a calculation of =SUMPRODUCT(--A$3:$A$1000=1),--($N3$N$1000="Y"))

where W7 has a calculation of =SUM(U7/T7)*100

I think it is something to do with the 'IF' statement but can't work it out

thanks in advance

Anthony

  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Try to avoid SUM around a simple division though...

=SUM(U7/T7)*100

===

=(U7/T7)*100

Anthony wrote:
Hi,
Can anybody please tell me how to remove the #DIV/0! error when my cells
show a 'zero' value.

I have a calculation in cell W7 which is =SUM(U7/T7)*100

where U7 has a calculation of =SUMPRODUCT(--A$3:$A$1000=1),--($N3$N$1000="Y"))

where W7 has a calculation of =SUM(U7/T7)*100

I think it is something to do with the 'IF' statement but can't work it out

thanks in advance

Anthony

  #5   Report Post  
 
Posts: n/a
Default


-----Original Message-----
Hi,
Can anybody please tell me how to remove the #DIV/0!

error when my cells
show a 'zero' value.

I have a calculation in cell W7 which is =SUM(U7/T7)*100

where U7 has a calculation of =SUMPRODUCT(--

A$3:$A$1000=1),--($N3$N$1000="Y"))

where W7 has a calculation of =SUM(U7/T7)*100

I think it is something to do with the 'IF' statement but

can't work it out

thanks in advance

Anthony
.


Try this

+if(iserror(Sum(U7/T7*100)),"0",(Sum(U7/T7*100)))
hope this works



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 7 March 7th 05 06:29 PM
"Average" with error DIV/0 agenda9533 Excel Discussion (Misc queries) 1 March 2nd 05 05:47 PM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 0 February 28th 05 06:26 PM
Simple #DIV/0! error AMY Z. Excel Worksheet Functions 2 January 23rd 05 10:25 PM
#DIV/0 Error Dominique Feteau Excel Worksheet Functions 2 December 19th 04 08:06 AM


All times are GMT +1. The time now is 06:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"