+ Reply to Thread
Results 1 to 9 of 9

Populate cells using multiple column lookup

  1. #1
    Registered User
    Join Date
    01-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    25

    Populate cells using multiple column lookup

    Hi,

    I would like to be able to populate a column by matching up values from two columns on a different sheet.

    Basically I have one sheet with these columns

    Year Barrel Tree

    The year and barrel columns have data in them.

    I have another sheet with a key to what tree was in each barrel number for each year. So it also has columns for Year, Barrel, and Tree which are all filled with data.

    I would like to put a formula in the tree column in worksheet 1 that puts the correct tree species according to the year and barrel in worksheet 2.

    I combined the Year/Barrel columns into one column to give each combination a unique identifier if that makes it easier. I did a lookup function that sort of worked, but some of the trees are wrong, so it's not doing exactly what I want and I'm not sure why.

    How would you do this?

    Thanks!

    Marc

  2. #2
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Populate cells using multiple column lookup

    Could you please post your workbook?

  3. #3
    Registered User
    Join Date
    01-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    25

    Re: Populate cells using multiple column lookup

    Sorry, how do I do that. I'm not seeing anything for attaching files to posts.

  4. #4
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Populate cells using multiple column lookup

    Click on "Go Advanced" instead of "Quick Reply", then click on Attachments (beside the Smile, at the first row of commands)

  5. #5
    Registered User
    Join Date
    01-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    25

    Re: Populate cells using multiple column lookup

    BarrelData.xlsx

    Hopefully that worked

  6. #6
    Registered User
    Join Date
    01-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    25

    Re: Populate cells using multiple column lookup

    Actually use this one. I changed the column names to reflect the names I used in my original post.
    Attached Files Attached Files
    Last edited by Andelousiano; 12-22-2015 at 02:29 PM.

  7. #7
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Populate cells using multiple column lookup

    Try this on RawData Worksheet Cell D3:

    Please Login or Register  to view this content.
    Is that what you need? Give me a feedback
    Last edited by Gatti; 12-22-2015 at 02:47 PM.

  8. #8
    Registered User
    Join Date
    01-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    25

    Re: Populate cells using multiple column lookup

    That seems to have worked. Thanks so much!!

  9. #9
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Populate cells using multiple column lookup

    Quote Originally Posted by Andelousiano View Post
    That seems to have worked. Thanks so much!!
    Thats great!

    If possible, Add Reputation and mark your thread as [SOLVED]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] One LookUp to Populate Multiple Columns
    By reynolds8481 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 06-11-2015, 08:57 AM
  2. Using Lookup? Index match? to populate cells based on column header
    By NoExcelSkills17 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-15-2015, 03:50 PM
  3. [SOLVED] lookup a range of cells and populate specific cells based on matching data
    By RobertM01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2014, 08:18 PM
  4. [SOLVED] Lookup list, populate cells
    By x65140 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-05-2013, 05:20 PM
  5. Removal of 000's and a lookup formula to populate cells
    By YoungExcel in forum Excel General
    Replies: 0
    Last Post: 01-11-2012, 11:57 AM
  6. [SOLVED] populate columns A & B based on lookup in column C
    By linksavage in forum Excel General
    Replies: 3
    Last Post: 12-22-2010, 02:35 PM
  7. [SOLVED] how to automatically populate cells using lookup tables
    By felipe in forum Excel General
    Replies: 1
    Last Post: 10-21-2005, 04:05 PM

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