+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP; Partial Text...

  1. #1
    Registered User
    Join Date
    04-25-2018
    Location
    Miami, FL
    MS-Off Ver
    2013
    Posts
    11

    VLOOKUP; Partial Text...

    I am attempting to look up data on sheet 'Data2' based on the 'username' on sheet 'Data1'...but I only want to return the data from sheet Data2 if the data contains the word 'written.' I am not sure how to go about this...either VLOOKUP or MATCH? I'm not sure how to make this happen.
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLOOKUP; Partial Text...

    I see that "INCIDENT DATE" is in column E of Data2. Where in Data2 is "ACTIVE DISCIPLINES; COACHING"?

    Also, what if there are multiple incidences for the same username? Do you only want to pull one of them into Data1?

    It would help to see some desired results based on the sample data.
    Last edited by 63falcondude; 07-11-2018 at 02:08 PM.

  3. #3
    Registered User
    Join Date
    04-25-2018
    Location
    Miami, FL
    MS-Off Ver
    2013
    Posts
    11

    Re: VLOOKUP; Partial Text...

    So on sheet Data1, if username Sharmon2 appears on Data2, column D (incident type) contains 'written', I want that to return to cell C7. I only need to pull one of the warnings, so multiples won't matter.
    Attached Files Attached Files

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLOOKUP; Partial Text...

    Try these:

    C7 =IFERROR(INDEX(Data2!D$2:D$208,MATCH(1,(Data2!A$2:A$208=B7)*(ISNUMBER(SEARCH("written",Data2!D$2:D$208))),0)),"") Ctrl Shift Enter

    D7 =IFERROR(INDEX(Data2!F$2:F$208,MATCH(1,(Data2!A$2:A$208=B7)*(ISNUMBER(SEARCH("written",Data2!D$2:D$208))),0)),"") Ctrl Shift Enter

  5. #5
    Registered User
    Join Date
    04-25-2018
    Location
    Miami, FL
    MS-Off Ver
    2013
    Posts
    11

    Re: VLOOKUP; Partial Text...

    Seems to be working; thank you so much!!!!

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLOOKUP; Partial Text...

    You're welcome. Happy to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this 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] VLookup - partial text
    By Bryony309 in forum Excel General
    Replies: 3
    Last Post: 08-01-2016, 06:08 AM
  2. [SOLVED] Vlookup with partial text VBA help
    By itty in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-12-2015, 10:25 AM
  3. [SOLVED] VLOOKUP HELP! Search for partial text
    By sls1915 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-24-2015, 03:48 PM
  4. VLOOKUP Partial matches when searched text is longer than actual text
    By mockions in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-23-2015, 11:16 PM
  5. Vlookup with only partial text match
    By betsy2128 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-18-2013, 08:03 AM
  6. Vlookup Partial Text String
    By dreicer_Jarr in forum Excel General
    Replies: 7
    Last Post: 05-26-2011, 09:23 PM
  7. Partial text vlookup
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2011, 05:35 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