+ Reply to Thread
Results 1 to 7 of 7

find 1 of 3 values on one sheet, from a lookup table on another sheet, enter on 3rd sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    07-25-2015
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    26

    find 1 of 3 values on one sheet, from a lookup table on another sheet, enter on 3rd sheet

    This is so hard to explain! Thanks to anyone who responds!

    I have a workbook with multiple sheets. One sheet has unique data in column A that I want to show up on my report page.

    Sheet 1, column A

    Name

    other text starting at a4
    myvalue123
    other text ending at a18466

    Sheet 2 has a lookup table that contains values in B2:B4

    defined name is Sheet2lookup

    myvalue122
    myvalue123
    myvalue124

    Instead of me clicking the down arrow in my report and picking which one of the three, I want excel to look at my master sheet1 that has the actual data in it, find which one of the three values it has, and insert it into my report on sheet3

    Is there a way to do this?

  2. #2
    Forum Contributor
    Join Date
    06-24-2005
    Location
    excelliot.com
    MS-Off Ver
    2007
    Posts
    325

    Re: find 1 of 3 values on one sheet, from a lookup table on another sheet, enter on 3rd sh

    so do you want to enter myvalue123 in your report sheet?

  3. #3
    Registered User
    Join Date
    07-25-2015
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: find 1 of 3 values on one sheet, from a lookup table on another sheet, enter on 3rd sh

    Yes, myvalue123, or if Sheet1 Column A says "myvalue122" or myvalue124", I want it to choose. Let me rephrase.
    sheet1 will have only one of these three values in column A:

    myvalue122
    myvalue123
    myvalue124

    but it also has 18466 records in column A. There will generally be three choices for each record on my report (sheet3), the choice of which can be found on Sheet1. I was using a defined name/data validation to pick which one of the three, but I'd rather not have to go looking on the 18466 record sheet1, then pick which one on sheet3. I'd like excel to find one of the three choices on sheet1 based upon the three in the lookup table on sheet2, and insert it into the correct cell on sheet3 where my formula sits. Am I asking to much of software

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: find 1 of 3 values on one sheet, from a lookup table on another sheet, enter on 3rd sh

    Hi, welcome to the forum

    I think it would be helpful if you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    06-24-2005
    Location
    excelliot.com
    MS-Off Ver
    2007
    Posts
    325

    Re: find 1 of 3 values on one sheet, from a lookup table on another sheet, enter on 3rd sh

    Hi

    use this formula..

    Formula: copy to clipboard
    =IF(COUNTIF(Sheet1!A:A,"myvalue122")>0,"myvalue122",IF(COUNTIF(Sheet1!A:A,"myvalue123")>0,"myvalue123",IF(COUNTIF(Sheet1!A:A,"myvalue124")>0,"myvalue124","")))


    Cheers!!

  6. #6
    Registered User
    Join Date
    07-25-2015
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: find 1 of 3 values on one sheet, from a lookup table on another sheet, enter on 3rd sh

    Excelliot, you are a rock star! It worked! Thank you! Now I can go back to being nice to my children

  7. #7
    Forum Contributor
    Join Date
    06-24-2005
    Location
    excelliot.com
    MS-Off Ver
    2007
    Posts
    325

    Re: find 1 of 3 values on one sheet, from a lookup table on another sheet, enter on 3rd sh

    Quote Originally Posted by SLBELL View Post
    Excelliot, you are a rock star! It worked! Thank you! Now I can go back to being nice to my children
    Glad it worked, Cheers!!

+ 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. Lookup Value from Sheet 4 in Sheet 2, if found copy Sheet 2 Active Row to Sheet 5
    By lgosso23 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-11-2013, 02:51 PM
  2. Replies: 5
    Last Post: 02-21-2013, 07:17 PM
  3. [SOLVED] Lookup up from Sheet 1 in Sheet 2 and display additional value in Sheet 1 when match
    By azbridgie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2013, 03:22 PM
  4. [SOLVED] find code# from sheet 1 on sheet 2, compare value on sheet 1 with value on sheet 2
    By BlakeLee in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-27-2013, 01:52 PM
  5. Replies: 11
    Last Post: 10-14-2012, 01:03 PM
  6. Lookup/Find Sheet then give value of specific cell within sheet
    By DoriBeE in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2011, 08:42 AM
  7. Replies: 9
    Last Post: 04-04-2011, 12:03 AM
  8. how to find and copy values on sheet 2, based on a list on sheet 1
    By evanmacnz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2005, 05:06 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