SUM of Array Where Two Conditions Are Met On Worksheet Other Than Where Array Is Found

Aimee S.

Board Regular
Joined
Sep 28, 2010
Messages
236
Office Version
  1. 365
Platform
  1. Windows
I don't know if this is possible, but I have tried and failed to do the following using sumproduct and sumif(s).

Sum all values in array 'Tabbing Data'!$A$2:$CA$5000

Where column header = a value in a reference matrix, e.g. 'Tabbing Data'!$A$1:$CV$1='Data Gap Check'!$P47

And where 'Data Gap Check'!$Q47 = "Yes"

The formula would live in the 'Data Gap Check' sheet.

Any help would be immensely appreciated.
Aimee
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Maybe
=IF($Q47="Yes",SUMPRODUCT(('Tabbing Data'!$A$1:$CV$1=$P47)*('Tabbing Data'!$A$2:$CV$5000)),"")
 
Upvote 0
Alas, I get a #VALUE ! :( Thanks and great idea though! I opted to just use an HLOOKUP and hide a total row at line 5000 and locked it so no one can delete it. I hate the way they provide me this data - what a pain! lol
 
Upvote 0
Glad you sorted it & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
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