DIV/0! error HELP :(

craig80

Board Regular
Joined
May 18, 2010
Messages
51
Hi Guys,

I am trying to return a blank from the below function, however my ISERROR doesn't seem to be working? Can anyone shead some light?

Thanks

BEFORE ERROR CHECK
=(SUM(COUNTIFS(CA,"p",Bus_Area,$B20),COUNTIFS(SA,"p",Bus_Area,$B20),COUNTIFS(EA,"p",Bus_Area,$B20),COUNTIFS(ENGA,"p",Bus_Area,$B20),COUNTIFS(PLA,"p",Bus_Area,$B20)))/(SUM(COUNTIFS(CA,">=10",Bus_Area,$B20),COUNTIFS(SA,">=10",Bus_Area,$B20),COUNTIFS(EA,">=10",Bus_Area,$B20),COUNTIFS(ENGA,">=10",Bus_Area,$B20),COUNTIFS(PLA,">=10",Bus_Area,$B20))+SUM(COUNTIFS(CA,"p",Bus_Area,$B20),COUNTIFS(SA,"p",Bus_Area,$B20),COUNTIFS(EA,"p",Bus_Area,$B20),COUNTIFS(ENGA,"p",Bus_Area,$B20),COUNTIFS(PLA,"p",Bus_Area,$B20)))
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I don't see any ISERROR there, but why do you need it? If you don't want to see the result if it's zero format the cell as eg:

General;General;
 
Upvote 0
Sorry, I missed the division. Try:

=IF((SUM(COUNTIFS(CA,">=10",Bus_Area,$B20),COUNTIFS(SA,">=10",Bus_Area,$B20),COUNTIFS(EA,">=10",Bus_Area,$B20),COUNTIFS(ENGA,">=10",Bus_Area,$B20),COUNTIFS(PLA,">=10",Bus_Area,$B20))+SUM(COUNTIFS(CA,"p",Bus_Area,$B20),COUNTIFS(SA,"p",Bus_Area,$B20),COUNTIFS(EA,"p",Bus_Area,$B20),COUNTIFS(ENGA,"p",Bus_Area,$B20),COUNTIFS(PLA,"p",Bus_Area,$B20))),(SUM(COUNTIFS(CA,"p",Bus_Area,$B20),COUNTIFS(SA,"p",Bus_Area,$B20),COUNTIFS(EA,"p",Bus_Area,$B20),COUNTIFS(ENGA,"p",Bus_Area,$B20),COUNTIFS(PLA,"p",Bus_Area,$B20)))/(SUM(COUNTIFS(CA,">=10",Bus_Area,$B20),COUNTIFS(SA,">=10",Bus_Area,$B20),COUNTIFS(EA,">=10",Bus_Area,$B20),COUNTIFS(ENGA,">=10",Bus_Area,$B20),COUNTIFS(PLA,">=10",Bus_Area,$B20))+SUM(COUNTIFS(CA,"p",Bus_Area,$B20),COUNTIFS(SA,"p",Bus_Area,$B20),COUNTIFS(EA,"p",Bus_Area,$B20),COUNTIFS(ENGA,"p",Bus_Area,$B20),COUNTIFS(PLA,"p",Bus_Area,$B20))),"")
 
Upvote 0
Fantastic,

thanks you.

I can't see what you changed? Can you highlight it for me, so I can learn something new today?

thanks

C
 
Upvote 0
Sure:

=IF((SUM(COUNTIFS(CA,">=10",Bus_Area,$B20),COUNTIFS(SA,">=10",Bus_Area,$B20),COUNTIFS(EA,">=10",Bus_Area,$B20),COUNTIFS(ENGA,">=10",Bus_Area,$B20),COUNTIFS(PLA,">=10",Bus_Area,$B20))+SUM(COUNTIFS(CA,"p",Bus_Area,$B20),COUNTIFS(SA,"p",Bus_Area,$B20),COUNTIFS(EA,"p",Bus_Area,$B20),COUNTIFS(ENGA,"p",Bus_Area,$B20),COUNTIFS(PLA,"p",Bus_Area,$B20))),(SUM(COUNTIFS(CA,"p",Bus_Area,$B20),COUNTIFS(SA,"p",Bus_Area,$B20),COUNTIFS(EA,"p",Bus_Area,$B20),COUNTIFS(ENGA,"p",Bus_Area,$B20),COUNTIFS(PLA,"p",Bus_Area,$B20)))/(SUM(COUNTIFS(CA,">=10",Bus_Area,$B20),COUNTIFS(SA,">=10",Bus_Area,$B20),COUNTIFS(EA,">=10",Bus_Area,$B20),COUNTIFS(ENGA,">=10",Bus_Area,$B20),COUNTIFS(PLA,">=10",Bus_Area,$B20))+SUM(COUNTIFS(CA,"p",Bus_Area,$B20),COUNTIFS(SA,"p",Bus_Area,$B20),COUNTIFS(EA,"p",Bus_Area,$B20),COUNTIFS(ENGA,"p",Bus_Area,$B20),COUNTIFS(PLA,"p",Bus_Area,$B20))),"")
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top