SUMIFS with multiple criteria from 1 column

BillieHynds

New Member
Joined
May 24, 2017
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am currently trying to work a SUMIFS formula looking at multiple criteria which works fine at the moment. We now have an instance where instead of summing if 1 criteria is met, I would like it to sum for 2 criteria in the same column.

=SUMIFS(Data!D:D,Data!A:A,$AO$3,Data!B:B,$AO$4,Data!C:C,$AO$2,Data!G:G,F26,Data!H:H,I26,Data!I:I,M26,Data!J:J,N26)

This is the current formula and where it says $AO$4, id like this to be $AO$4 AND $AO$5.

I've tried using using SUMPRODUCT and have not been successful.

Any help is much appreciated.

Thanks,
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

How about
Excel Formula:
=sum(SUMIFS(Data!D:D,Data!A:A,$AO$3,Data!B:B,$AO$4:$AO$5,Data!C:C,$AO$2,Data!G:G,F26,Data!H:H,I26,Data!I:I,M26,Data!J:J,N26))
 
Upvote 0
Thanks for that, did the formula work?
 
Upvote 0
Sorry was just trying, unfortunately not, brings back a 0.

I did try a similar formula myself
 
Upvote 0
In the picture i've attached, Criteria2 seems to not link to the actual cell value
 

Attachments

  • Formula.PNG
    Formula.PNG
    50.5 KB · Views: 13
Upvote 0
Is col B and exact match to AO4 or AO5?
 
Upvote 0
Atached images of column B data, along with the criteria in cells AO4 & AO5
 

Attachments

  • cell A4 and A5.PNG
    cell A4 and A5.PNG
    381 bytes · Views: 10
  • col b data.PNG
    col b data.PNG
    1.9 KB · Views: 17
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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