+ Reply to Thread
Results 1 to 6 of 6

Concatenate values that meet lookup criteria of Products and names.

  1. #1
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Concatenate values that meet lookup criteria of Products and names.

    Hi,

    Required a formula help to as based on data situated at Column A to D, look up the values in two tables of Column F group and concatenate Products in table-1 column G4:G6 and Sum the quantities in Column H4:H6,

    As well group and concatenate names in table-2 column G11:G18 as each number of lookup values in Column F and return the payment status and concatenate in H11:H18.


    Sample sheet attached with expected results to the reference.


    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Concatenate values that meet lookup criteria of Products and names.

    Use:

    =TEXTJOIN(", ",TRUE,IF(ISNUMBER(SEARCH($A$4:$A$16,F4)),$B$4:$B$16&"",""))

    and:
    =TEXTJOIN(", ",TRUE,IF($B$4:$B$16=F11,$A$4:$A$16,""))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Concatenate values that meet lookup criteria of Products and names.

    I just noticed the other two bits!!

    In H4:
    =SUMPRODUCT(--(ISNUMBER(SEARCH($A$4:$A$16,F4))),$C$4:$C$16)

    and in H11:
    =TEXTJOIN(", ",TRUE,UNIQUE(IF($B$4:$B$16=$F11,$D$4:$D$16,""),FALSE))
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Re: Concatenate values that meet lookup criteria of Products and names.

    Thank so much Glenn for the formula solutions.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Concatenate values that meet lookup criteria of Products and names.

    You're welcome and thanks for the rep.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,382

    Re: Concatenate values that meet lookup criteria of Products and names.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Concatenate unique values which meet criteria
    By fer493 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-17-2019, 09:42 AM
  2. [SOLVED] Lookup specific worksheet and sum values within that meet criteria
    By Elgin26 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-31-2019, 12:46 PM
  3. Replies: 5
    Last Post: 08-10-2016, 08:17 PM
  4. [SOLVED] lookup values that meet certain criteria
    By nonstop5000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-22-2015, 10:11 PM
  5. Lookup return values if meet criteria?
    By lissamel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-31-2015, 10:21 AM
  6. [SOLVED] Lookup Values which meet two or more criteria and return multiple matches horizontally
    By josetmg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-03-2015, 01:16 AM
  7. Lookup/ Return and concatenate values based upon multiple criteria
    By steveboise in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2013, 10:43 AM

Tags for this Thread

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