Excel 2007 LOOKUP Problem?

R

robertbjr

I have been using the LOOKUP function for a long time. It worked with very
little problems in Excel 2003. I am having a problem in Excel 2007. For
some reason it will not give me an exact match. It will only return a value
that is approximate. I have tried using VLOOKUP and INDEX with MATCH. Both
gave me N/A errors. Does anyone have any suggestions on how to get an exact
match using LOOKUP in Excel 2007? Thank you.
 
T

T. Valko

exact match
VLOOKUP and INDEX with MATCH. Both
gave me N/A errors.

Did you specify in the formulas that you wanted an exact match?

=VLOOKUP(A1,D1:E10,2,0)
=INDEX(E1:E10,MATCH(A1,D1:D10,0))

The 0 in each formula means you want an exact match.

With LOOKUP, you can't specify that you want an exact match. If an exact
match isn't found it returns an approx match by default. Also, using LOOKUP,
the lookup_vector *must* be sorted in ascending order.
 
T

Tyro

LOOKUP does not look for an exact match. VLOOKUP, HLOOKUP and MATCH will
look for an exact match. These functions have to my knowledge always worked
this way. In other words, this is not unique to Excel 2007. The functions
work as they did in previous versions.

Tyro
 
T

T. Valko

Clarification:
The 0 in each formula means you want an exact match.

The 0 in each formula means *the data is not sorted* therefore your
intention is to find an exact match.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

First row where a cell is zero 1
Lookup 1
vlookup and lookup 12
Lookup 3
sun results of a vlookup across a range 3
Index and Match Function Help 5
LOOKUP MATCH problems 6
Which is better? LOOKUP or INDEX? 1

Top