Help with Sumproduct syntax!!!

trone77

Board Regular
Joined
Dec 28, 2009
Messages
152
Office Version
  1. 2019
Platform
  1. Windows
What I want from the formula below is for it to the count the total number of times the pairs of values ($H & $I, $J & $K, $L & $M, etc) appears in the file 'Master'! and if it is equal to $b$5, for it to return a value of "x":

=IF(SUMPRODUCT(('MASTER'!$H$5:$H$49=$C5),--('MASTER'!$I$5:$I$49=$D5)+

('MASTER'!$J$5:$J$49=$C5),--('MASTER'!$K$5:$K$49=$D5)+

('MASTER'!$L$5:$L$49=$D5),--('MASTER'!$M$5:$M$49=$E5)+

('MASTER'!$N$5:$N$49=$D5),--('MASTER'!$O$5:$O$49=$E5)+

('MASTER'!$P$5:$P$49=$C5),--('MASTER'!$Q$5:$Q$49=$E5)+

('MASTER'!$R$5:$R$49=$C5),--('MASTER'!$S$5:$S$49=$E5),--('MASTER'!$AB$5:$AB$49='MASTER'!$B$5)),"x","")


While I don't get an error message, however it doesn't return "x"
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
If I'm following correctly,
Excel Formula:
=IF(SUMPRODUCT((('MASTER'!$H$5:$H$49=$C5)*('MASTER'!$I$5:$I$49=$D5))+(('MASTER'!$J$5:$J$49=$C5)*('MASTER'!$K$5:$K$49=$D5))+(('MASTER'!$L$5:$L$49=$D5)*('MASTER'!$M$5:$M$49=$E5))+(('MASTER'!$N$5:$N$49=$D5)*('MASTER'!$O$5:$O$49=$E5))+(('MASTER'!$P$5:$P$49=$C5)*('MASTER'!$Q$5:$Q$49=$E5))+(('MASTER'!$R$5:$R$49=$C5)*('MASTER'!$S$5:$S$49=$E5)))=$B$5,"x","")
 
Upvote 0

Forum statistics

Threads
1,215,771
Messages
6,126,798
Members
449,337
Latest member
BBV123

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