STDEVA with OR arguments

jbrecevic

New Member
Joined
Dec 4, 2017
Messages
2
Morning All,

Long time lurker, first time poster. Firstly thanks for all the help over the years, really helped me out. Has anyone used or arguments successfully (Non-VBA route due to audience restrictions)?

I have 2 "buckets"

A 4
B 6
C 7

D 1
E 3
F 9

I'm trying to have a formulae that finds the STDEVA of bucket 1 and the STDEVA of bucket 2 from a dataset

=STDEVA(IF(OR(Data!A:A=Output!B9,Data!A:A=Output!B10,Data!A:A=Output!B11),Data!B:B)) - In array terms

So I have a dataset filled with A B C D E F letters and a value and would like an easy way to find the std dev of group 1 (all the ABCs) and the stdev of group 2 (DEFs)

Any pointers much appreciated!

Thanks
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi, welcome to posting :)

Something like this maybe..:


Excel 2013/2016
ABCDE
1A4A1.527525232
2B6B
3C7C
4D1
5F3
6F9
Sheet1
Cell Formulas
RangeFormula
E1{=STDEVA(IF(ISNUMBER(MATCH(A1:A6,D1:D3,0)),B1:B6))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Last edited:
Upvote 0
OR always returns a single result rather than the array you need here, try using + like this:

=STDEVA(IF((Data!A:A=Output!B9)+(Data!A:A=Output!B10)+(Data!A:A=Output!B11),Data!B:B))

or you can use MATCH like this

=STDEVA(IF(ISNUMBER(MATCH(Data!A:A,Output!B9:B11,0)),Data!B:B))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,330
Messages
6,124,305
Members
449,150
Latest member
NyDarR

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