+ Reply to Thread
Results 1 to 5 of 5

Vlookup based on values from two columns

  1. #1
    Registered User
    Join Date
    06-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Vlookup based on values from two columns

    I have a spreadsheet (Excel 2010). I want to fill categoryid in sheet one based on values of SkillProblem.xlsx and State which are part of field in Sheet two.

    Sheet One (Has Four Columns and I am looking for filling CategoryID based on Sheet Two
    FirstName LastName Skill State CategoryID
    John Edward Ballet California
    Ed Catalino Tap London
    Natasha Curtis Ballet Australia
    Shen Watson Modern Kansas

    Sheet Two
    CategoryID CategoryDescription
    1 Dancers/Ballet/United States/Alaska
    2 Dancers/Ballet/United States/California
    3 Dancers/Ballet/UnitedKingdom/Wales
    4 Dancers/Ballet/UnitedKingdom/London
    5 Dancers/Tap/United States/Alaska
    6 Dancers/Tap/United States/California
    7 Dancers/Tap/United Kingdom/Wales
    8 Dancers/Tap/United Kingdom/London
    9 Dancers/Ballet/Australia
    10 Dancers/Modern/United States/Kansas

    Appreciate your help.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Vlookup based on values from two columns

    lamp123,

    Welcome to the forum!
    Attached is a modified version of your posted workbook. In sheet 'Dancers' cell E2 and copied down is this formula:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Vlookup based on values from two columns

    You also posted your question on this forum.

    http://www.mrexcel.com/forum/showthr...=1#post3174856

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Vlookup based on values from two columns

    Thanks for cross-post link, oeldere.

    lamp123, in the future, when you post a message that you will be posting (or have already posted) elsewhere, please include a link to the cross-post per forum rule 8 (link to forum rules in my sig).

  5. #5
    Registered User
    Join Date
    06-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Vlookup based on values from two columns

    I am sorry that I posted on two forums. I was frustated and looking for reply. I had no idea someone will reply so quickly. Thank you tigeravatar for quickly reponding. I am so happy to try, Appreciate your help.

+ 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