Indirect formula syntax

erniepoe

Active Member
Joined
Oct 23, 2006
Messages
380
Office Version
  1. 365
Platform
  1. Windows
Hi all,

So I've got the following indirect formula, trying to sumproduct all the instances of Admin, Marketing, Implementation, Direct Install, and Incentives in column B and then sum column K,

The formula works if I only choose one of the above, but not for all 5, so I think I'm close to where I should be, but as it stands, I always get zero values when I search for all 5.

Anybody see where I've gone wrong?

Thanks for any help,
Ernie




(SUMPRODUCT((INDIRECT(Controls!$D$55&"!A2:A430")=$A6)*(INDIRECT(Controls!$D$55&"!K2:K430")*(INDIRECT(Controls!$D$55&"!B2:B430")="Admin")*(INDIRECT(Controls!$D$55&"!B2:B430")="Marketing")*(INDIRECT(Controls!$D$55&"!B2:B430")="Incentives")*(INDIRECT(Controls!$D$55&"!B2:B430")="Implementation")*(INDIRECT(Controls!$D$55&"!B2:B430")="Direct Install"))))))
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
No ideas as to what might be wrong?
Try it like this...

Use cells to hold the criteria.

A1:A5 =
Admin
Marketing
Implementation
Direct Install
Incentives

=SUMPRODUCT(--(INDIRECT(Controls!$D$55&"!A2:A430")=$A6),--(ISNUMBER(MATCH(INDIRECT(Controls!$D$55&"!B2:B430"),A1:A5,0))),INDIRECT(Controls!$D$55&"!K2:K430"))
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,839
Members
452,948
Latest member
UsmanAli786

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