SUMIFS and #values!

csliger931

New Member
Joined
Jul 22, 2020
Messages
21
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi All,
I have a really dumb question that I can't seem to figure out. I have a SUMIFS formula searching a range of numbers that contain a few #values! errors. Obviously, the SUMIFS result is going to be an error (#values!) for these, and I can't use aggregate since it doesn't have SUMIFS. The easiest way to fix this would be an IFERROR statement nested in the SUMIFS formula (i.e. SUMIFS(A2:A13, B2:B13, "RED", IFERROR(A2,"")), but I'm not even sure I can do this, or where I would put the IFERROR function. Does anyone know how to have the SUMIFS formula skip "#values!" errors? Or perhaps another formula that would work better? I would rather not remove all of the #values! from my range because that is going to add alot of time to my exercise (I have multiple tabs with multiples #values! errors).

Thanks!
Chris
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi CSLiger931,

Does this help?

CSLiger931.xlsx
EFGHI
1AnimalData 1Data 2Result
2Cat16209
3Dog27
4Cat#VALUE!8
5Dog49
6Cat5#VALUE!
7Dog100200
8
Sheet1
Cell Formulas
RangeFormula
I2I2=SUMIFS($G$2:$G$8,$G$2:$G$8,"<>#VALUE!",$F$2:$F$8,"<>#VALUE!",$F$2:$F$8,">3",$E$2:$E$8,"Dog")
F4,G6F4=INDEX(C3:C10,"A")
 
Upvote 0
Solution
Toadstool,

I think that will work!! I will try it as soon as I get in the office, but it makes complete sense....thanks man!!!! I'll mark as solved...thanks for the help!

Chris
 
Upvote 0
Toadstool,

I think that will work!! I will try it as soon as I get in the office, but it makes complete sense....thanks man!!!! I'll mark as solved...thanks for the help!

Chris
You're welcome!
 
Upvote 0

Forum statistics

Threads
1,223,702
Messages
6,173,959
Members
452,539
Latest member
delvey

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