Sumproduct for 3 arrays/criteria

jwalkerday

New Member
Joined
May 1, 2018
Messages
18
Hi,

I'm trying to add a third criteria in a SUMPRODUCT FORMULA-

=SUMPRODUCT('Sheet2'!$I$17:$EU$58*('Sheet2'!$I$15:$EU$15=$B$1)*('Sheet2'!$I$16:$EU$16=B11)*('Sheet2'!$F$17:$F$59=$A$12))

So I'm trying to locate year, month and code. But I get #N/A even though no #n/a's in source data. Can you help?

Data eg
Year201820182018
CODEPosting Period123
6110000111
6110001111

<tbody>
</tbody>

I did something similar here with your help- https://www.mrexcel.com/forum/excel...heck-if-flagged-result-then-return-value.html

However in that one instead of month variable I had a fixed "Result" string.
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,214,932
Messages
6,122,334
Members
449,077
Latest member
Jocksteriom

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