index function

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

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Index function

Index function

resolvedResolved · Medium Priority · Version 2007

Natalia has attended:
Excel Intermediate course
Excel Advanced course

Index function

how to choose the data from the left rather than from right as in vlookup

Edited on Thu 5 Jun 2014, 09:35

RE: index function

Hi Natalia

Thanks for getting in touch. Sorry we didn't get time to cover this during training. As you know, the VLOOKUP will only return values to the right of the lookup value. There's no way to force VLOOKUP to go to the left.

You need to use two functions to achieve this, a MATCH function nested in an INDEX function.

The MATCH function returns the position of an item in array (a sort of crude lookup).

The INDEX function returns the value found at a given position.

When you use them together they usually look like this:

=INDEX(list 1, MATCH(lookup value, list 2, 0))

(The zero in MATCH means exact match only).

This can be quite a long-winded explanation, so I've created the accompanying sheet to explain it in more detail, along with some formulas you can try.

I hope this helps, please get back to me if you'd like further examples.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Attached files...

GF INDEX and MATCH.xlsx

Wed 11 Jun 2014: Automatically marked as resolved.


 

Excel tip:

Missing Field handle

If your field handle goes missing all you need to do is go to tools > options > edit tab and then make sure that the check boxes for paste and insert buttons are checked.

View all Excel hints and tips


Server loaded in 0.07 secs.