SUMIFS with duplicated column names

olimajor123

Board Regular
Joined
Nov 13, 2013
Messages
72
Hi there,

Please see the attached Sample on dropbox link. I have a Master sheet that I want to track the total of events that occur each week for a sports team.

https://www.dropbox.com/s/mpsxrh3couwu2lh/Sample.xlsx?dl=0

On the Engine sheet this will track the possible events each week and will be ongoing, however I had trouble with a SUMIF as it is looking for column names which are repeated on a few occasions on the Engine tab.

Can you help with a formula that would track the total on the master sheet?

I think the solution to this is relatively simple but when I had a brief look I couldn't get it to work

Thanks in advance
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
in Master!B2
=SUMPRODUCT(--(Engine!$A$3:$A$22=$A2)*(Engine!$B$2:$ZZ$2=B$1)*(Engine!$B$3:$ZZ$22))
copy across and down

calculates as far as column ZZ, adjust as required for the future
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,525
Members
448,969
Latest member
mirek8991

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