Min & Max Range Lookup

  • Thread starter Thread starter J.W. Aldridge
  • Start date Start date
J

J.W. Aldridge

I have a number in cell A1 (50) I have a larger number in B1 (100).
What formula can i use to search these two values as if they were min
and max, and return a word if found.

Example:

50 100

in C1, i have the value of 75.
in D1, i want it to return "Yes" since it is within range.
if it is not within range, i want to return "No"

Any ideas?
 
Maybe this?:

=IF(MEDIAN(A1:C1)=C1,"Yes","No")

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
 
Glad to help.

--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
 
Back
Top