+ Reply to Thread
Results 1 to 6 of 6

Check text in adjacent cell and accordingly fill text from master reference

Hybrid View

  1. #1
    Registered User
    Join Date
    05-11-2016
    Location
    Mumbai, INDIA
    MS-Off Ver
    Microsoft® Excel® 2019 MSO (Version 2406 Build 16.0.17726.20078) 64-bit
    Posts
    24

    Check text in adjacent cell and accordingly fill text from master reference

    Hi,

    I'm new to this forum and hoping for some solution to autofill TEXT using some formula.

    I tried my best but Sorry am not able to describe my problem using proper MS Excel terminology. But I will keep learning

    So attached is my sample file. In the Master Worksheet, I have defined NameList and item related to each name.

    Next in the datasheet, when I select any name from the drop-down NameList, I want a FORMULA to automatically pick-up the item related to that name and thus fill that empty cell with text.

    Thanks in advance for your help.

    BCM
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-07-2013
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    290

    Re: Check text in adjacent cell and accordingly fill text from master reference

    Hi,

    Try this in data sheet, cell B2:
    =VLOOKUP(Data!A2,Master!$A$2:$B$10,2,0)

    or:

    =INDEX(Master!$B$2:$B$10,MATCH(Data!A2,NameList,0))

    copy down...

    Blessing
    Khalid

  3. #3
    Registered User
    Join Date
    05-11-2016
    Location
    Mumbai, INDIA
    MS-Off Ver
    Microsoft® Excel® 2019 MSO (Version 2406 Build 16.0.17726.20078) 64-bit
    Posts
    24

    Re: Check text in adjacent cell and accordingly fill text from master reference

    Quote Originally Posted by Khalidngo View Post
    Hi,

    Try this in data sheet, cell B2:
    =VLOOKUP(Data!A2,Master!$A$2:$B$10,2,0)

    or:

    =INDEX(Master!$B$2:$B$10,MATCH(Data!A2,NameList,0))

    copy down...

    Blessing
    AMAZING... QUICK... SOLUTION !!!!!

    Thanks a lot.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Check text in adjacent cell and accordingly fill text from master reference

    Try this...

    Data Range
    A
    B
    1
    Name
    Item
    2
    GHI
    SS
    3
    VWX
    Scr
    4
    DEF
    Riv
    5
    VWX
    Scr
    6
    ABC
    Ned
    7
    ------
    ------


    This formula entered in B2 and copied down:

    =VLOOKUP(A2,Master!A$2:B$10,2,0)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    05-11-2016
    Location
    Mumbai, INDIA
    MS-Off Ver
    Microsoft® Excel® 2019 MSO (Version 2406 Build 16.0.17726.20078) 64-bit
    Posts
    24

    Re: Check text in adjacent cell and accordingly fill text from master reference

    Thanks a lot for your quick solution.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Check text in adjacent cell and accordingly fill text from master reference

    You're welcome. Thanks for the feedback!

+ 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. Replies: 11
    Last Post: 04-30-2015, 05:35 PM
  2. Replies: 5
    Last Post: 09-17-2014, 11:19 AM
  3. [SOLVED] Check cell for text and return corresponding txt in adjacent cell
    By stu29 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-29-2014, 09:55 AM
  4. Formula to identify part of a text in cell from range of cells & insert adjacent cell text
    By Novicebutnotforlong in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-19-2013, 02:11 AM
  5. Replies: 1
    Last Post: 04-11-2013, 01:49 PM
  6. [SOLVED] Splitting text from one cell into separate text fragments, Located in adjacent cells
    By onsid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2013, 08:32 PM
  7. VBA - Check 3 rows if blank and display text in one of them in adjacent cell
    By guitalex in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2012, 09:32 AM

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