Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Min & Max Range Lookup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J.W. Aldridge - 22 Feb 2008 22:54 GMT
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?
Tyro - 22 Feb 2008 23:04 GMT
=IF(AND(C1>=A1,C1<=B1),"Yes","No")

Tyro

>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
[quoted text clipped - 9 lines]
>
> Any ideas?
T. Valko - 22 Feb 2008 23:07 GMT
One way:

=IF(COUNT(A1:C1)=3,IF(AND(C1>=A1,C1<=B1),"Yes","No"),"")

Signature

Biff
Microsoft Excel MVP

>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
[quoted text clipped - 9 lines]
>
> Any ideas?
Ron Coderre - 22 Feb 2008 23:14 GMT
Maybe this?:

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

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

Regards,

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

>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
[quoted text clipped - 9 lines]
>
> Any ideas?
J.W. Aldridge - 23 Feb 2008 18:04 GMT
WORKS PERFECTLY!!!

THANX ALL!!
Ron Coderre - 23 Feb 2008 18:13 GMT
Glad to help.

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

Regards,

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

> WORKS PERFECTLY!!!
>
> THANX ALL!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.