Need Help Troubleshooting SUMIFS

DKRbella0814

Board Regular
Joined
Aug 10, 2008
Messages
155
I need some help reviewing the formula I've written to understand why the #VALUE error is returning. The formula is intended to sum all bank charges which meet certain criteria, including: category of spend (i.e. food, gas, etc.), spend month and year (i.e. Jan-20, Feb-20), and whether the charge is from a certain person (i.e. "Danny") since there is one joint account (i.e. Bank2)

The original formula is as follows, which returns #VALUE error:
=-(SUMIFS('Bank1'!$Q$252:$Q$347,'Bank1'!$R$252:$R$347,'Budget-20'!$B23,'Bank1'!$S$252:$S$347,'Budget-20'!$F$4)+SUMIFS(Bank2!$L$1738:$L$1745,Bank2!$M$1738:$M$1745,'Budget-20'!$B28,Bank2!$N$1738:$N$1745,"Danny",Bank2!$O$1740:$O$1745,'Budget-20'!$F$4)); where
Budget-20$B23 = Food (spend category)
Budget-20$f$4 = text version of date and year
Note: Bank1: $S$252:$S$347 and Bank2 $O$1740:$O$1745 both store the date as Text to properly cross-reference with 'Budget-20'$f$4

I tried troubleshooting the error by separating the two formulas. When I used SUMIFS for Bank1 charges, the formula works properly. Therefore, I know that the issue is with Bank2 formula. I am not sure whether this is because of use of 3 criteria and whether the criteria has been written properly.

Please help!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Though it would certainly help if you would bother to post some sample data, I think we can offer a suggestion. It looks like Bank2!$O$1740:$O$1745 is a different size from the other ranges in that SUMIFS formula, like Bank2!$L$1738:$L$1745.
 
Upvote 0
@DKRbella0814, Posting the data set or an image of the data set would be helpful if you want people to help you with this question.
 
Upvote 0

Forum statistics

Threads
1,213,510
Messages
6,114,040
Members
448,543
Latest member
MartinLarkin

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