SUMIF ignore DIV/0 Error

kong1802

New Member
Joined
Feb 7, 2017
Messages
24
I'm trying to run a sumif to find blank or 0 cells in a column, and if found, give me the corresponding value in the adjoining cell. Normally I would use =SUMIF(AO5:AO344,"",AN5:AN344). However, Some cells in AN have a #DIV/0!, so the formula will not work. Any thoughts?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Usually, the best bet is to address the error at its source instead of trying to work around it.
Is the #DIV/0! error the result of some formula?
If so, what is the formula? We can probably fix it up to avoid the error.
 
Upvote 0
Usually, the best bet is to address the error at its source instead of trying to work around it.
Is the #DIV/0! error the result of some formula?
If so, what is the formula? We can probably fix it up to avoid the error.


Great thought. I just wrapped another formula in the iferror, and updated the errors to be 0's. This fixed my Sumif. Thanks!
 
Upvote 0
You are welcome! Glad I could help.
 
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

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