SUMIF with Multiple Ranges & Criteria

SRafter

New Member
Joined
Jul 12, 2011
Messages
8
Morning All,

I am looking to combine 2 SUMIF formulas to show results for an individual or the whole team:

The SUMIF for individual is :
SUMIF(Data1!$A:$A,$A$2&D$14,Data1!$G:$G)/SUMIF(Data1!$A:$A,$A$2&D$14,Data1!$I:$I)

The SUMIF for the team is:
SUMIF(Data1!$C:$C,D$14,Data1!$G:$G)/SUMIF(Data1!$C:$C,D$14,Data1!$I:$I)

Can someone please help with how I can nest all this together is the same cell? Thanks in advance.

Steve.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Can you explain what exactly you want this to do ?

I understand summing for an individual, and it sounds like you've got that working.
I understand summing for a team, and it sounds like you've got that working too.
I don't understand what you want it to do, when you say nesting it all together.
 
Upvote 0
Hi Gerald,

I have a spreadsheet where I can select the name of an individual or "Team" from a data validation in cell drop down. The selection made here determines what data is returned and from which column in the imported query.

The formula above is placed in cell D3 across to cell R3 for monthly results by individual or team but I can't work out how to reference all the data I need to with only 1 formula in D3.

Hope you can help.

Cheers, Steve.
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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