+ Reply to Thread
Results 1 to 4 of 4

Vlookup and return the entire row(s) based on multiple texts

  1. #1
    Registered User
    Join Date
    10-09-2017
    Location
    Frederick, Maryland
    MS-Off Ver
    64 Home Version
    Posts
    11

    Vlookup and return the entire row(s) based on multiple texts

    Hello guys! I've been unable to resolve this issue for about 12 hours now, so thought I would ask experts for some help.

    I have a list of transactions with date, description and amount that I copied/pasted from my PNC bank and I would like to lookup the descriptions and return the rows containing specific keywords (I have a list of keywords).

    I have attached an example spreadsheet, the copied/pasted list is in the Consolidated List 2017 sheet and the Taxable Expenses 2017 sheet should automatically extract and return rows containing keywords in the list (on the right in Consolidated List 2017 sheet)

    Your help would be tremendously appreciated! Thanks so much
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-09-2017
    Location
    Frederick, Maryland
    MS-Off Ver
    64 Home Version
    Posts
    11

    Re: Vlookup and return the entire row(s) based on multiple texts

    P.S. I am thinking asterisks should be included in the formula since I am looking for rows with descriptions containing *one of the keywords* in the sentence?

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: Vlookup and return the entire row(s) based on multiple texts

    Try below array formula and copy across
    A6=IFERROR(INDEX('Consolidated List 2017'!A:A,SMALL(IF(MMULT(IFERROR((SEARCH(TRANSPOSE('Consolidated List 2017'!$H$5:$H$19),'Consolidated List 2017'!$B$6:$B$9)>0)+0,0),(ROW('Consolidated List 2017'!$H$5:$H$19)>0)+0)>0,ROW('Consolidated List 2017'!$B$6:$B$9)),ROWS(A$6:A6))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    10-09-2017
    Location
    Frederick, Maryland
    MS-Off Ver
    64 Home Version
    Posts
    11

    Re: Vlookup and return the entire row(s) based on multiple texts

    It works, thank you so much!!!!

+ 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. Search for multiple texts in cell, return specific text
    By mariur89 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-24-2014, 06:43 PM
  2. Replies: 4
    Last Post: 11-20-2014, 10:57 PM
  3. [SOLVED] VBA Help needed to fill cells with some specific texts based on multiple conditions
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-18-2014, 12:52 PM
  4. vlookup to return multiple cells based on month
    By ashwin272012 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2013, 10:57 AM
  5. Vlookup to Return Entire Row
    By balston2 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-12-2013, 05:02 PM
  6. vlookup formula to return multiple rows of data based on the same value.
    By Point5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2011, 06:03 PM
  7. Can VLOOKUP return multiple answers based on several identical lo.
    By jddtct in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-11-2005, 03:06 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