sumproduct formula help

Pauljj

Well-known Member
Joined
Mar 28, 2004
Messages
2,047
I thought the formula below would work....but it isn't

=SUMPRODUCT(--ISNUMBER(MATCH(AY$20:AY$500,{"W","X","Y","Z","F","T"},1)),--(BB$20:BB$500="Redeemed"),--(BA$20:BA$500>38869),AZ$20:AZ$500)


This is meant to be summing up range AZ20:AZ500 if.....

range BA20:BA500 has a date larger then 38869 and

if range BB20:BB500 has the words redeemed in it and

range AY20:AY500 has a code which starts with any of these letters W or X or Y or Z or F or T

It's this last part which I think I have wrong...the problem is I don't know how to correct it, does anyone have any clues please ?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Try

=SUMPRODUCT(--ISNUMBER(MATCH(LEFT(AY$20:AY$500,1),{"W","X","Y","Z","F","T"},0)),--(BB$20:BB$500="Redeemed"),--(BA$20:BA$500>38869),AZ$20:AZ$500)
 
Upvote 0
Thanks VoG. When someone gives you the answer more often then not it seems obvious and you question yourself how you didn't think of it....unfortunately thats my problem nearly all the time. Thanks for your help much appreciated
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

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