+ Reply to Thread
Results 1 to 2 of 2

QUICK HELP - Retrieve value based on two column criteria

  1. #1
    jay
    Guest

    QUICK HELP - Retrieve value based on two column criteria

    I have three columns in worksheet A (id,name,city) in worksheet B I have
    (id,name,city) where the ID is not populated. I need to populate worksheet
    b(id) with worksheet A(id) where the name and city are equal. Just so you
    know, worksheetA has a lot more values than B so I can't just copy/paste.

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Jay,

    for a quick one-off solution, make a column of concatenated A and C, followed by column B, (say in columns D and E),

    (in D1 put =A1&C1
    in E1 put =B1
    and formula copy for the extent of your data)

    then in the blank column B put

    =vlookup(A1&C1,sheet2!D1:E9999,2,false)

    Hope this helps


    Quote Originally Posted by jay
    I have three columns in worksheet A (id,name,city) in worksheet B I have
    (id,name,city) where the ID is not populated. I need to populate worksheet
    b(id) with worksheet A(id) where the name and city are equal. Just so you
    know, worksheetA has a lot more values than B so I can't just copy/paste.

+ 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