vlookup

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Vlookup

Vlookup

resolvedResolved · Low Priority · Version 2003

Juho has attended:
Excel VBA Intro Intermediate course

Vlookup

In Vlookup the first column data must be sorted. Is there a way of doing similar thing with data that's not. (To find the exacty values or strings in the first column)
Also it would be very helpful to be able to make the vlookup search with multiple arguments (not just the first column) to define the row to pick from

Thanks in advance,

Juho

RE: vlookup

Hi Juho

Thanks for your question

The lookup column in the lookup table need only be sorted if you are looking for the closest matching value. It is not necessary if you are seeking an exact match.(This is defined by the 4th argument).
Vlookup will only look in the first column. It might however be possible to nest another Vlookup within the first one, looking at another range that contains the second column youa re interested in.
Finally, if all else fails it might be possible to write some code that will carrry out the required operations. To pursue this further, it would be helpful if you could email an example workbook to me and I will investigate further.

The email address is infoATstl-training.co.uk

Regards

Stephen

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

LARGE and SMALL functions and their uses

Two of Excel's most common functions are the MAX and MIN functions which will display the largest (MAX) or smallest (MIN) value in a series. What if you need the 2nd or 3rd largest or smallest values instead of the largest or smallest?

The =LARGE(array,n) returns the nth largest value of a series.

The =SMALL(array,n) function returns the nth smallest value of a series.

In both functions, 'n' represents the order of the number you want to display. For example, putting in 2 as n will give you the second highest number; putting in 3 as n will give you the third highest number.

View all Excel hints and tips


Server loaded in 0.08 secs.