INDIRECT Formula Issue

clmsntgrs

New Member
Joined
Jul 24, 2008
Messages
9
Why does this formula work:

=SUMIF(($BO$2:CP$2),DG$2,$BO$2696:CP$2696)


BUT this formula does not work:

=INDIRECT("(SUMIF(($BO$2:CP$2),DG$2,$BO$2696:"&ADDRESS(2696,94)&"))")


The second formula gives me a #REF! error.

I'm not seeing it.

Thanks.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I am not entirely sure what you are trying to achieve with your INDIRECT(), so I cannot offer a solution. You appear to have your formula as the text string argument of the INDIRECT function.
The argument must be a text string that references a cell or range that holds your required data.
Eg C3 has value A1 and A1 contains 123 then INDIRECT(C3) will return 123.

You can build up the text string in any way you like, including references to other sheets or even open workbooks. But it must reference a cell or range.

A quick Google should lead you to more comprehensive info on INDIRECT().

Otherwise please post more of an idea as to what you are trying to achieve.
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,673
Members
452,937
Latest member
Bhg1984

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