Google Sheets Sumifs from multiple columns

jl2509

Board Regular
Joined
Oct 30, 2015
Messages
198
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,
I am trying to get google sheets to perform a lookup from multiple columns but cannot get the true sum to show?

In column B there are "Sites" in Column C there are "Departments" where 2 criteria is required to be filtered, in column D there are "Roles" and in column E there are Costs to be summed.

I have attached an image to support this.
Any help in creating something like a Sum, Sumifs, Sumproduct formula would be greatly appreciated.
 

Attachments

  • Sample Image.jpg
    Sample Image.jpg
    58 KB · Views: 14

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try

Excel Formula:
=SUMIFS(E:E,B:B,"London",C:C,"*Design",D:D,"Projects")
 
Upvote 0
Hi,

Thanks for the response

Apologies, I made a mistake in the sample data, the "R&D Design" should only be "R&D" so the solution would not work.
 
Upvote 0
Try

Excel Formula:
=SUM(SUMIFS(E:E,B:B,"London",C:C,{"Design","R&D"},D:D,"Projects"))
 
Upvote 0
That is exactly what I have and it does not calculate both "Design" and "R&D", to test this, if I omit "R&D" I get 5000, if I omit "Design" I get 5000 but both together or reversed I get 5000?
 
Upvote 0
Try

Excel Formula:
=SUMPRODUCT(E2:E100*(B2:B100="London")*((C2:C100="Design")+(C2:C100="R&D"))*(D2:D100="Projects"))
 
Upvote 1
Solution

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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