Part of Formula Works...Other Part Doesn't

jiminoregon

New Member
Joined
Apr 27, 2008
Messages
30
I'm such a hack it's hard for me to explain what I'm trying to do...but here goes.

The following formula works to return part of my desired result:

=MEDIAN(IF(R2:R1000>=B5,IF(R2:R1000<=F6,L2:L1000="SLD",T2:T1000)))

The "R" checks the "T" column to see if the "T" result fits between two dates and then returns the median of the "T" column. That portion works, but doesn't check to see if "L" column contains the term "SLD":

I hope I made that understandable.

Any help appreciated,

Jim
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Maybe, the below?

=MEDIAN(IF(R2:R1000>=B5,IF(R2:R1000<=F6,IF(L2:L1000="SLD",T2:T1000))))
 
Upvote 0
You are welcome. It was a question of following the pattern of the first 2 IFs that you already had. ;)
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,969
Members
449,059
Latest member
oculus

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