+ Reply to Thread
Results 1 to 9 of 9

Vlookup

  1. #1
    Registered User
    Join Date
    10-02-2008
    Location
    Sweden
    Posts
    5

    Question Vlookup

    How do you solve the following;

    If the range_lookup argument is FALSE, VLOOKUP will find only an exact match. If there are two or more values in the first column of table_array that match the lookup_value, the first value found is used. If an exact match is not found, the error value #N/A is returned.

    For example if I would like the function to read from something called TX1, TX2, TX3 and TX4, and then I add TX up to TX14, then the function will read 14 as 1 (the first digit in the number).
    Last edited by Bellen; 06-15-2010 at 10:28 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup

    You need different formulas to solve for multiple matches...

    ... please submit an example file and what you want to lookup and return.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-02-2008
    Location
    Sweden
    Posts
    5

    Re: Vlookup

    Attached....


    Quote Originally Posted by NBVC View Post
    You need different formulas to solve for multiple matches...

    ... please submit an example file and what you want to lookup and return.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup

    You only have one match in the table in the Time Boxes sheet.

    What are your expected results?

  5. #5
    Registered User
    Join Date
    10-02-2008
    Location
    Sweden
    Posts
    5

    Re: Vlookup

    To when changing the TX number in the Project Plan column Time box that the dates in the next right column should change according to Tab Time Boxes and return same value.

    Quote Originally Posted by NBVC View Post
    You only have one match in the table in the Time Boxes sheet.

    What are your expected results?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup

    Maybe we are not on the same page...

    Are you going to have repeat items in Column B of the Time Boxes sheet?

    That is when you will need to know if you need to pick up multiple items...

    Maybe you want to use this formula instead:

    =VLOOKUP(I3,'Time boxes'!$B$3:$C$9,2,0)

    which returns an exact match... perhaps your issue was it wasn't returning an exact match???

  7. #7
    Registered User
    Join Date
    10-02-2008
    Location
    Sweden
    Posts
    5

    Re: Vlookup

    Hi, I would like for the function to return an exact match Yes, but the formula I got yesterday did not work. I would like to when I am typing for example an A the function to return a certain date which is show in the other Tab, but since VLLOKUP only return first value i.e for numer 14, it returns '1' instead of both 1 and 4 it does not work for bigger numbers.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup

    Huh?

    Maybe you should re-post your spreadsheet and show me an example of what you mean?

    Where will you input and what do you expect to be the outcome?

  9. #9
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Vlookup

    Bellen,

    Maybe your problem is this part of the Vlookup formula (sheet Project plan J3 and down):
    Time boxes'!$B$3:$C$9
    That range seems to be to small to look for TX14, since TX14 is found in cell B16 of sheet Time boxes.
    Or did i just add to the confusion?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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