+ Reply to Thread
Results 1 to 4 of 4

Vlookup query

  1. #1
    Forum Contributor
    Join Date
    07-22-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    185

    Vlookup query

    Hi,

    I want to know how to find information using Vlookup. I have a file in which Days mentinoed in the end of the tabel but unable to get answer. please find attached file for example.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Vlookup query

    hi Dnyan, here's how people usually use VLOOKUP. you have 2 lists of data. both list have a common unique ID. and say, List1 has got no Amount but has other info you need. List 2 has got amount, but no other info. then you can use VLOOKUP to look for the unique ID in List2 & return the amount to List1.

    in your eg, you only have 1 list. why would you want to return a data in the list that you already have in your data. and days are certainly not unique because Tuesday appeared twice.

    let's just assume i have another list which has a cell in Sheet2!A1 named "Tuesday". I want to lookup in your list & return column F amounts. so i will use in B1 in that list:
    =VLOOKUP(A1,Sheet1!C2:F12,4,0)

    A1 = the "Tuesday" in my Sheet2
    Sheet1!C2:F12 = the list you have (C2 because that is where Tuesday is found. VLOOKUP can only lookup from the left to the right. column F is where my desired data is)
    4 = Column F is the 4th column from C
    0 = Exact match

    so if you do not have a unique ID, the VLOOKUP only returns the 1st value if finds. just for your information, INDEX formula can look backwards if you need it

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,420

    Re: Vlookup query

    VLOOKUP works by looking through the LEFTmost column of the table searching for a match with your lookup_value. You would probably have to use an INDEX/MATCH combination, but I'm not sure what it is you want to do.

    Pete

  4. #4
    Forum Contributor
    Join Date
    07-22-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    185

    Re: Vlookup query

    Quote Originally Posted by Pete_UK View Post
    VLOOKUP works by looking through the LEFTmost column of the table searching for a match with your lookup_value. You would probably have to use an INDEX/MATCH combination, but I'm not sure what it is you want to do.

    Pete
    Yes u r correct, I want to calculate from right to left so is it possible?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1