+ Reply to Thread
Results 1 to 5 of 5

vlookup and if on two lists of text

  1. #1
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    vlookup and if on two lists of text

    Hi all, apologies for my ignorance but trying to find a way to do a lookup on two columns of different text data and to return a numeric value in an adjacent cell if there's a match - wherever that match might be. i.e.
    A B
    1pm 9.00 1pm
    3i Group 750.00 3i Group
    Shell 29.0 4imprint Group
    4imprint Group 7.0

    So my formula would return a 9.00 next to the 1pm in 'B', a 750 next to 3i Group and wherever the 4imprint Group is in 'A' would return the 7 next to 4imprint Group in B.

    Hope that makes sense, I know there's an easy way to do this. Thanks a lot

    Adam

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: vlookup and if on two lists of text

    See this, is this what you want?

    on sheet2 you have defined values (alphabeticaly sorted), and on sheet1 you get results

    Book1.xls

  3. #3
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    Re: vlookup and if on two lists of text

    zbor, thanks for superfast response - I think you're reply almost gets it but my initial explanation might have been unclear.

    I have attached an example - it would be a straightforward vlookup but there are different data in the two lists.

    Thanks

    Adam
    Attached Files Attached Files

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: vlookup and if on two lists of text

    So, B is correctly populated and you want to populate column E?

    =VLOOKUP(D2;$A$2:$B$17;2;FALSE)

    (maybe you need replace ; with ,)

    This will give you error in last 3 cells because cell doesn't match

  5. #5
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    Re: vlookup and if on two lists of text

    Great, thanks a lot zbor - kudos to you! Have a great day!
    Adam

+ 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