A little while ago I showed you how to do a lookup to the left using the INDEX and MATCH functions.
In this Excel tutorial I’m going to show you how you can do a lookup to the left with a VLOOKUP formula together with the CHOOSE function as an alternative.
First of all let’s look at our data:

In this example we want to look up the Volume in column E for the date 29/01/2011 in column K. As we know, a VLOOKUP cannot go left, but with the help of the CHOOSE function we can trick it into going left.
First of all let’s understand how the CHOOSE function works:
This is the syntax in Excel:
=CHOOSE(index_num, value1, value2, value3…..up to 254 values)
The syntax is not very useful as usual! To translate it into English:
=CHOOSE(value number 3 where, value 1 = A, value 2 = B, value 3 = C)
The result is C
Now we can get creative by specifying more than one index number with the help of curly brackets { }, and instead of specifying the values (like we did above with A, B and C) we can refer to a range of cells like this:
=CHOOSE({1,2},$K$2:$K$207,$E$2:$E$207)
In English this formula reads:
= ({column 1 is K , and column 2 is E)
Effectively switching the positions of column E and K so that the VLOOKUP will think column K is to the left of column E. Clever, huh?
Now, on its own, like the example above, CHOOSE is not much use but when you use it in a VLOOKUP it enables us to trick Excel into returning the value to the left of our lookup column.
Our formula to look up date 29th January 2011 in column K and return the value in column E (column number 2) is:
=VLOOKUP(DATE(2011,1,29),CHOOSE({1,2},$K$2:$K$207,$E$2:$E$207),2,0)
Translated:
=VLOOKUP(find 29/01/2011 in column K and return the value in column E)
Result 7,222,425
NOTE: when you want to reference a date in a formula you need to tell Excel it is a date using the DATE function, alternatively you can use the date’s serial value. However, I find the DATE function more intuitive and easier to follow when I revisit a formula later on. Alternatively you could reference another cell that contains the date in the correct date format.
TIP: We can make this formula a little easier to use by changing the cell range references to full column references. This will work in this instance because there is no other data in our columns other than that which is in our table.
With full column references our formula looks like this:
=VLOOKUP(DATE(2011,1,29),CHOOSE({1,2},K:K,E:E),2,0)
Download the workbook and play around with the formula to test your understanding.
In some ways I think using the CHOOSE function to trick your VLOOKUP to look left is easier than the INDEX and MATCH functions , especially if you’re more familiar with VLOOKUP.
What do you think? Do you have a preference or do you just rearrange your columns so you never have to lookup to the left? Let me know in the comments below.



... I would highly recommend My Online Training Hub for all your Microsoft Office needs .... Geniuses



{ 72 comments… read them below or add one }
SWEEEET! That is one of the awesomest things ever!! Thank you so much!!!! ^_^
Thanks Colleen. I’m glad it helped you. Your feedback makes it all worthwhile.
I was stuck with “Vlookup to the left” in two days. this is amazing. Thank you so much.
Thanks Huy. Glad to have helped.
Mynda
Hi Mynda, The Best!!!! I have ever seen in my Excel search….
sweet and simple but great concept
Cheers Rajesh. Glad you liked it.
A neat trick… I personally prefer to reorganize the columns in the first place however as it adds less calculational load.
Thanks Scott. Me too, but mainly because it adds less load on my brain
Hi Mynda,
It was very great trick…..I am very keen to learn the Excel, need your suggestions that which book or site is good…
Thanks Parveen! This site is good to learn Excel
We have an Excel training course that you can join. Find out more here:
http://www.myonlinetraininghub.com/free-microsoft-office-online-training/microsoft-office-online-training-courses/excel-2007-syllabus
Please let me know if you have any questions.
Kind regards,
Mynda.
This formula is perfect and helped so much. Thank you.
Cheers, Dan
Always use match and index instead of vlookup.
With Vlookup, if you add or delete a column, the entire spreadsheet can blow up.
Is there a way to look in a list of cells to see if a cell matches (where the cells are NOT contiguous: something like Match($a1,{a11,b12,c13,d14},0)
Hi Ron,
Are you just trying to see if there is a match or locate the cell containing the match? i.e. would a TRUE or FALSE answer do? Also, are the values numeric or text?
Cheers,
Mynda.
wan to know more abt excel
Excellent job and very good tutorials.
The “English translation” is very helpful!
I’ll include a link to this site in my blog to keep the trace and avoid missing time with other useless tutorials I found.
Cheers, Barcelona!
Mynda,
This is really an eye opener. Thanks.
John.
Cheers, John. Glad you like it
Hi Mynda, This is great, but for some reason, when I try this in practice, it shows me the data that is two cells below what I’m actually looking for. Any ideas where I might be messing up?
Thanks!
CB
Wonderful, this makes a lot of tasks easier!!
Thanks, Ashish
I was struggling with trying to complete this exact same kind of function…. I ended up “googling” my problem and ended up at this page… I read through your instructions, applied it to my spreadsheet and it worked! Thank you so much for your help!!!
Kind regards,
Mynda.
hi mynda ,
mynda please send me some access logic for do something extra in my office
Birbal Sharma
Hi Birbal,
I’m sorry, I don’t have any training on Access.
Kind regards,
Mynda.
mynda its my luck i got you for my Excell logic clear
Cheers, Birbal
Dear Mynda,
Thanks a lot for keep teaching us a number of useful and creative formulas and functions in Excel.
Please send me link to your some files/examples about using using data tables, esp. with reference to dynamic/interactive ranges/graphs.
So kind of you,
Khurram Ali
Hi Khurram Ali,
You can find an index of Excel formulas and techniques here, including Tables.
Sorry, I don’t have any tutorials on the blog on dynamic/interactive ranges/graphs at this time. They are covered in my dashboard course though.
Kind regards,
Mynda.
Much better explained than an example I found in Chandoo.org on looking up to the left. Thank you.
Wow, thanks, Ras
The choose formula you just showed me pulling data out from the column to the left makes much more sense to me than the index/match method. it had been awhile since i used the index/match method and when i went to use it i could remember what columns went where….lol.
the choose method you just showed is 10x easier to remember. I use this function more than most folks and it is a lifesave. Thank you so much for sharing.
Mynda thanks heaps this will save me hours of frustration.
Great to hear, Kel
It’s awesome! I was just looking for something like this.
I bookmarked this website.
Thank you!
I believe that this site is one of the most open and comprehensive repository of Excel useful info i have come across in months.
B
Wow, thanks Bob
Awesome… my new favourite function!
I can’t tell you how many times I’ve struggled with this. I even went so far as to create a separate worksheet with {column E, Column C} so that I could lookup the values in C. Never More.
In what chapter of what book in what universe is Choose() explained as well as this?
This is really useful.
Thanks!
Glad I could help
FYI – you can “HLOOKUP to the up” by using the same trick, but with one important change. {1,2} becomes {1;2}. (Change the comma to a semicolon!)
Hi Steve,
Love it. Thanks for sharing.
Kind regards,
Mynda.
I usually like to link or import the excel list to ms access and do all these tricks even easir. And still likes to know more about excel.
Still your site is great. Thanks.
Cheers, Mustafa
Hey,
I am looking Vlookup from left, Its amazing:)
Thanks,
Abid Jan
Cheers, Abid
Glad you liked it.
Hello,
This information is exactly what i needed.
However i am struggling to apply it to my vlookup that looks up on different worksheet, any insight would be greatly appreciated.
Current Formula looks like:
=VLOOKUP(B5,’MAIN REPORT’!D:E,2,0)
-It searches what is in cell B5 on worksheet MAIN REPORT in column D and returns the corresponding data from column E. However the data in column E is really to the left, column C, and i must manually copy column C to column E.
-Thanks Again
Hi JAndrew,
I simulated your problem:
In MAIN REPORT ColA to ColE
ColC – “DataFromC”
ColD – “LookupME”
IN your Formula-Sheet
B5 – “LookupME”
E5 – is the formula below.
=VLOOKUP(B5,CHOOSE({1,2},'MAIN REPORT'!D:D,'MAIN REPORT'!C:C,2),2,0)Read More on VLOOKUP with CHOOSE
Cheers.
CarloE
It worked!!!! i love you! Thank you so much! i will refer co-workers here.
J. Andrew,
On behalf of Mynda — actually, she wrote it and I learned it from her–
I say you’re very much welcome.
Cheers.
CarloE
Thanks for this, CHOOSE works much simpler in my head than index and match, this is a very quick shortcut – love it.
You’re welcome, Suzie
It’s awesome. Before this I was aware of trick to look-up value toward left is Index-match combination. This is far easier than that one.

Thanks!
http://www.myonlinetraininghub.com is really a good source of learning about MS office tools, even best among all what I explore of now.
Thanks, Manjeet
Excellent!!! Helped allot!!!!
You’re welcome, Robert
Hi
Can we use Sumif with Look up, as you aave used choose function
Thanks
Nishal
Maybe. In what context exactly?
Very useful courses in your website.
VLOOKUP with CHOOSE combination – good trick instead of MATCH INDEX combination.
Thanks.
Thanks, Sergiu
Hi Mynda,
Great! Is there a way for Vlookup or Match to return the nearest higher value to a lookup_value? Value returned is always the greatest value which is <= to the lookup_value where data is sorted in ascending order for the Vlookup function and in descending order for the Match function. The goal is actually to get the next lower and next higher value of a lookup_value.
Thanks,
Ron
Hi Ronald,
How about this:
i.e. add 1 to your lookup value to make it find the next higher value. Take 1 away to find the next lower value.
Kind regards,
Mynda.
Awsome! So easy to use. I didn’t experiment with your workbook, just copied the code & changed to match my data. 10/10
Cheers, Sharon
Hi Myanda
thanks for all the helpful tutorials.
just one thing, get you give anothere example of nesting vlookup with choose function that involves something else either than a date.
many thanks.
Hi Tefo,
Please clarify some more because I think it really doesn’t matter whether it’s a date or something else, this
Vlookup with choose function will work.
Cheers,
CarloE
really excellent!!! very well explained about the choose function. many thanks
Thank you, Swetha