+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    11-07-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    74

    Vlookup not returning all values

    In the spreadsheet attached I have two tables , Raw table & Lookup table . I'm using Vlookup to return values . I'm not why all values are being returned .

    In the same table in Column # AH , I'm seeing a different value being returned , I'm not sure why .Please help me with this .
    Attached Files Attached Files

  2. #2
    Forum Guru contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2010
    Posts
    1,335

    Re: Vlookup not returning all values

    Think you can try this in AH4

    =LOOKUP(99^99,CHOOSE({1,2},0,VLOOKUP($X4,OFFSET($B$3,,,COUNTA($C$4:$C$248),COUNTA($C$3:$Q$3)+1),16,0 )))
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, «Born in USSR»
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Registered User
    Join Date
    11-07-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Vlookup not returning all values

    Thank you . If you look at the other columns , none of them are returning the values .Do you want me to use the same formula in those columns as well.

    Also I would like to know why my vlookup is not working . Thanks in advance

  4. #4
    Registered User
    Join Date
    11-07-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Vlookup not returning all values

    I tried the formula you gave me .. but its not returning all the values . For ex # in AH 21 I'm expecting a value , but it didn't return any .

  5. #5
    Forum Guru contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2010
    Posts
    1,335

    Re: Vlookup not returning all values

    Don't know why, but seems VLOOKUP sees some minor diffrence betweem values in P5 and X21. Copy P5 value onto X21, u'll get desired result
    HTH
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, «Born in USSR»
    Vusal M Dadashev

    Baku, Azerbaijan

  6. #6
    Registered User
    Join Date
    10-25-2008
    Location
    Mount Joy, PA
    MS-Off Ver
    2003
    Posts
    44

    Re: Vlookup not returning all values

    The problem is being caused when any time ends in a repeating number (333 repeating or 666 repeating). To get around this, I added a round function to column A and did the same with column U. I did a quick sum to make sure total calls were the same on both tables.
    Attached Files Attached Files

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.2.0