Using INDIRECT with STDEV and IF statements

tonysandiego

New Member
Joined
Oct 22, 2010
Messages
1
I’m trying to make INDIRECT work with STDEV and IF.


This works fine:

=AVERAGEIF(INDIRECT($A$23),C29,INDIRECT($B$23))


So does this:

=COUNTIF(INDIRECT($A$23),C29)


And this (without INDIRECT):

{=STDEV.P(IF(OOData!$G$34:$G$5686=$C29,OOData!$CG$34:$CG$5686))}


I’d like to change the above formula to something like:


{=STDEV.P(IF(INDIRECT($A$23),C28,INDIRECT($B$23)))}

But the statement above doesn't work

The contents of A23 is ‘OOData’!$G$34:$G$5686

And B23 is ‘OOData’!$CG$34:$CG$5686

Thanks!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Don't you need to use the same syntax as the original, i.e.

{=STDEV.P(IF(INDIRECT($A$23)=C28,INDIRECT($B$23)))}
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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