Indirect array versus named array formula problem

Kris with a K

New Member
Joined
Oct 20, 2009
Messages
10
Hi folks,

I have written some indirect formula functions such as the ones below.

=(SUMIF('OPWL (ret)'!$AG:$AG,CONCATENATE($C15," - ",D$6),INDIRECT("'OPWL (ret)'!$AH$2:$AH"&'OP Activity FS'!$C$12))+SUMIF('OPWL (ret2)'!$AG:$AG,CONCATENATE($C15," - ",D$6),INDIRECT("'OPWL (ret2)'!$AH$2:$AH"&'OP Activity FS'!$D$12)))*D$10

Isolating part of the formula...

=(SUMIF('OPWL (ret)'!$AG:$AG,CONCATENATE($C15," - ",D$6),INDIRECT("'OPWL (ret)'!$AH$2:$AH"&'OP Activity FS'!$C$12))

If 'OP Activity FS'$C$12 = 4000 then the result should be a sum of where the critera = the values in "AH2:AH4000"

The problem i am having is if there is 4000 rows in which to look the formual result is different if the indirect funcion is used to name the last row compared to removing the indirect funtion and summing "AH:AH" as an entire column

Does anybody know why this is happening and what to do to counter the problem.

I think i have laid out enough information to discribe the problem but let me know if you anyone needs more information.

Thanks in anticipation of your help.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,224,541
Messages
6,179,418
Members
452,912
Latest member
alicemil

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