STDEV With 3 Criteria

DHAMMOND

New Member
Joined
May 1, 2018
Messages
5
Hello,

I have an STDEV array that calculates with 2 criteria, but It won't calculate with three. How can I get this to work?


Works
=STDEV(IF(Amazon!$M$2:$M$54330>=Summary!D6-52,IF(Amazon!$M$2:$M$54330<=Summary!D6-7,Amazon!$I$2:$I$54330)))

=STDEV(IF([All Dates]>=[Start Date],IF([All Dates]<=[End Date],[Sales])))



Errors
=STDEV(IF(Amazon!$M$2:$M$54330>=Summary!D6-52,IF(Amazon!$M$2:$M$54330<=Summary!D6-7,IF(Amazon!$E$2:$E$54330=F28,Amazon!$I$2:$I$54330))))

=STDEV(IF([All Dates]>=[Start Date],IF([All Dates]<=[End Date],[Brand],[Sales]))))
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Bit hard to tell without the exact nature of the columns, but try:

{=STDEV(
IF(Amazon!$E$2:$E$54330=F28,Amazon!$I$2:$I$54330
IF(Amazon!$M$2:$M$54330>=Summary!D6-52,
IF(Amazon!$M$2:$M$54330<=Summary!D6-7,
))))}

I think its just a case of putting the third argument 1st.

Hope it works, I have constant probs with the STDEV formula.

Cheers,

Sam
 
Upvote 0
Assuming that the formula is entered in the Summary sheet...

=STDEV(IF(Amazon!$M$2:$M$54330>=D6-52,IF(Amazon!$M$2:$M$54330<=D6-7,IF(Amazon!$E$2:$E$54330=F28,Amazon!$I$2:$I$54330))))

succeeds to return a numeric value. What is the error you get?
 
Upvote 0
Aladin, your post made me ponder the formatting of Amazon!$E$2:$E$54330.

Like a noob, i did not have it formatted as text. It was formatted as general. I didn't know it would make a difference in this case, but it does.

Cheers guys. Thank you both
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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