Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Steve Elliott wrote:
How do I get a formula that does a standard LOOKUP, but returns an exact match, rather than matching the nearest figure in the lookup table. EXAMPLE: I have a formula thus: =LOOKUP(B5,Lookup!$A$1:$A$100,Lookup!$B$1:$B$100) However, if cell B5 contains say 1562 and the closest match in the lookup table is 1540, then it returns the result in column B for 1540. I would like it to return the words "No Match" if it can't find an exact match. Any ideas? Thanks. Steve. If Lookup!$A$1:$B$100 is sorted on its first column (looks like it is for you invoke a LOOKUP formula)... =IF(LOOKUP(B5,Lookup!$A$1:$A$100)=B5,LOOKUP(B5,Loo kup!$A$1:$B$100),"No Match") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup Function Error | Excel Worksheet Functions | |||
Lookup Function Problem | Excel Discussion (Misc queries) | |||
Lookup function w/Text and Year | Excel Worksheet Functions | |||
LOOKUP FUNCTION WITH SUMS VALUES | Excel Discussion (Misc queries) | |||
need to save values from a function before it changes | Excel Worksheet Functions |