+ Reply to Thread
Results 1 to 4 of 4

Google Sheets: Lookup and Merge Data Based on Multiple Criteria

  1. #1
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Google Sheets: Lookup and Merge Data Based on Multiple Criteria

    Dear All,

    I have data with criteria and dates. Based on multiple criteria data should be pulled up and merged (if multiple criteria matched). Attached the manually mocked up data with the expected output. Please do the needful. Thanks in advance.
    Attached Files Attached Files
    Manikandan Arumugam
    Excel Learner

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Lookup and Merge Data Based on Multiple Criteria

    For Excel 2016 or lower without Textjoin function
    Helper columns are required

    AJ2:BN2
    =AI2&IF(ISNUMBER(SEARCH(" "&B2&",",$AH$2&"")),TEXT(B$1,", mmm d"),"")

    AG2
    =MID(BN2,3,99)

    for Excel 2019 or above
    =TEXTJOIN(", ",,REPT(TEXT($B$1:$AF$1,"mmm d"),ISNUMBER(SEARCH(" "&B2:AF2&",",$AH$2&""))))

    or UDF
    =JoinH($B$1:$AF$1,B2:AF2,$AH$2)

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Re: Lookup and Merge Data Based on Multiple Criteria

    Hi Bo_Ry,

    Thanks for your valuable time and effort on this. I have to append this into the google sheet. Sorry for not explained this before.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Google Sheets: Lookup and Merge Data Based on Multiple Criteria

    For Google Sheet

    =INDEX(TEXTJOIN(", ",1,REPT(TEXT($B$1:$AF$1,"mmm d"),ISNUMBER(SEARCH(" "&B2:AF2&",",$AH$2&"")))))

+ 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. Google Sheets: countifs multiple criteria from multiple sheets
    By wlinksanju in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 10
    Last Post: 06-16-2020, 11:23 PM
  2. Copy range to multiple sheets based on criteria with lookup
    By MrChrisP in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2019, 10:06 AM
  3. [SOLVED] Merge multiple sheets data into 1 sheet based on multiple criteria (List Based)
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 43
    Last Post: 08-10-2018, 11:08 AM
  4. [SOLVED] Merge multiple sheets data into one worksheet based on multiple criteria and date
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 02-03-2018, 04:19 AM
  5. [SOLVED] Merge multiple sheets data into one worksheet based on multiple criteria
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 01-05-2016, 10:32 AM
  6. Replies: 0
    Last Post: 12-03-2014, 05:10 PM
  7. [SOLVED] Lookup and sum multiple values based on a single criteria in multiple sheets.
    By paulsanett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2014, 12:18 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