Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to vlookup values from right to left in Excel?

Vlookup is a useful function in Excel, we can use it to quickly return the corresponding data of the leftmost column in the table. However, if you want to look up a specific value in any other column and return the relative value to the left, the normal vlookup function will not work. Here, I can introduce you other formulas to solve this problem.

Vlookup values from right to left with VLOOKUP and IF function

Vlookup values from right to left with INDEX and MATCH function


Look for a value from left to right:

With this formula of Kutools for Excel, you can quickly vlookup the exact value from a list without any formulas.

doc-vlookup-function-6

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


arrow blue right bubble Vlookup values from right to left with VLOOKUP and IF function


To get the corresponding left value from the right specific data, the following vlookup function may help you.

Supposing you have a data range, now you know the age of the persons, and you want to get their relative name in the left Name column as following screenshot shown:

doc-vlookup-to-left-1

Please enter this formula into your needed cell: =VLOOKUP(F2,IF({1,0},$D$2:$D$10,$B$2:$B$10),2,0) and press Enter key, you will get the correct result you need, see screenshot:

doc-vlookup-to-left-1

And then drag the fill handle to the cells you want to apply this formula to get all the corresponding names of the specific age.

doc-vlookup-to-left-1

Notes:

1. In the above formula, F2 is the value which you want to return its relative information, D2:D10 is the column that you are looking for and B2:B10 is the list that contains the value you wish to return.

2. When you drag this formula down, the absolute references $D$2:$D$10 and $B$2:$B$10 stay the same, while the relative reference F2 changes to F3, F4, F5….


arrow blue right bubble Vlookup values from right to left with INDEX and MATCH function

Except above formula, here is another formula mixed with INDEX and MATCH function also can do you a favor.

Type this formula: =INDEX($B$2:$B$10,MATCH(F2,$D$2:$D$10,0)) and press Enter key to get the corresponding data you need, see screenshot:

doc-vlookup-to-left-1

And then drag the fill handle down to your cells that you want to contain this formula.

Note: In this formula, F2 is the value which you want to return its relative information, B2:B10 is the list that contains the value you want to return and D2:D10 is the column that you are looking for.


Related articles:

How to use vlookup exact and approximate match in Excel?

How to lookup value to match case sensitive in Excel?

How to vlookup to get the row number in Excel?


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Tomas · 1 months ago
    Hi, I am looking for a way for excel to pull the right most number in a table that gets update every day. Please advise.
  • To post as a guest, your comment is unpublished.
    Kyle · 10 months ago
    Here’s a pretty great explanation:
    https://youtu.be/ceBLc-tBj5g
  • To post as a guest, your comment is unpublished.
    Deepak Singh · 11 months ago
    please ans : if on sheet1 one a1=Salesman_ name and a2 to a5 city name where all sales man Sales report how much Sales done . and sheet2 2 all sales man Report like which salesMan done how much sales( useing Countifs formula) by city wise and Total Sales ,i need a formula where when i use hyperlink on city wise sales and total slaes when i click total any one slaes man then get filter data on sheet1 of particuler sales man.again go back sheet2 and click anohter sales man then again get another slaes mann filered data . pleaes Help me.
  • To post as a guest, your comment is unpublished.
    Deepak Singh · 11 months ago
    hay any body can ans me.
    in A1 cell time is 23:59:00 and A2 cell 00:00:00 how can we get time between both date its always get show error .its meance 23:59:00 on date 18/11/2018 and 00:00:00 is next date 19/11/2018 so how can get betweeen time
  • To post as a guest, your comment is unpublished.
    asr · 1 years ago
    Thanks.....its works
  • To post as a guest, your comment is unpublished.
    Sarah Tanner · 1 years ago
    Hi!

    I'm trying to show a cell adjacent to a referenced cell when the referenced cell could be in one of two columns.

    The referenced cell, M9, uses this function to find the upcoming date closest to today (i.e. which bill is due next):

    =INDEX($K$1:$K$160,MATCH(M9,$L$1:$L$160,0))


    I want to cell M8 to show the AMOUNT due on that day, which is in the cell to the LEFT of the referenced cell in the list.

    I figured out in O9 how to show it when M9 references a cell in a single column L:

    =INDEX($K$1:$K$160,MATCH(M9,$L$1:$L$160,0))


    But I can't figure out how to have that apply when the referenced cell is in column N.


    A few things I've tried in O10-O12 that didn't work:
    =INDEX($K$1:$K$160&$M$1:$M$160,MATCH(M9,$L$1:$L$160&$N$1:$N$160,0))
    =INDEX(K1:K160,MATCH(M9,L1:L160,0))OR(M1:M160,MATCH(M9,N1:N160,0))
    =INDEX(K1:M160,MATCH(M9,L1:N160,0))

    Would love some help! Thanks!
  • To post as a guest, your comment is unpublished.
    Jajoo · 2 years ago
    very confusing, is there any youtube video about this?
  • To post as a guest, your comment is unpublished.
    Md. Nazmul Hoque · 2 years ago
    Thank you very much...
  • To post as a guest, your comment is unpublished.
    Manmohan · 2 years ago
    Thank u thank u so much
  • To post as a guest, your comment is unpublished.
    Gajraj singh · 2 years ago
    please make me understand "IF({1,0},$D$2: $D$10,$B$2:$B$1 0)", how does it works.
  • To post as a guest, your comment is unpublished.
    guillaume · 3 years ago
    you better use the choose 1,2 fct : example :
    =VLOOKUP(A6,CHOOSE({1,2},'TP Input'!$Z$3:$Z$36,'TP Input'!$Y$3:$Y$36),2,0)
  • To post as a guest, your comment is unpublished.
    summer · 3 years ago
    If you found this too confusing, like me, here's an alternative. Create a column on the right of the Age column. Copy and paste all data from Name. So now you have 2 columns with the same data: Name, Age, Name. Now you can do a Vlookup for the name by using the age.

    Then before you submit it to your boss, delete the extra name column to avoid confusion.

    :)
  • To post as a guest, your comment is unpublished.
    Milind · 4 years ago
    Can you Specify "IF({1,0},$D$2:$D$10,$B$2:$B$10)" from - =VLOOKUP(F2,IF({1,0},$D$2:$D$10,$B$2:$B$10),2,0)