VLOOKUP or INDEX

R

Ragai

What function I can use to have an approximate mach with out sorting the data
in original sheet , is it VLOOKUP or INDEX ?
 
J

JBeaucaire

It is not common to try and get "fuzzy matches" on unsorted data. That's
asking for problems.

Sorted data allows VLOOKUP() or LOOKUP() to do fuzzy matches. VLOOKUP()s
last parameter must be set to TRUE for that to occur:

=VLOOKUP(A1, B1:C100, 2, TRUE)

LOOKUP() is by definition a fuzzy match function, sorting is required:

=LOOKUP(A1, B1:B100, C1:C100)

The MATCH() part of an INDEX/MATCH formula can also use the TRUE parameter
to employ fuzzy matches, but only on sorted data.
 

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

Top