+ Reply to Thread
Results 1 to 5 of 5

Textjoin, Concat a list of emails if they are in a specific Group.

  1. #1
    Registered User
    Join Date
    05-06-2017
    Location
    Canada
    MS-Off Ver
    Office 365 subscription
    Posts
    44

    Textjoin, Concat a list of emails if they are in a specific Group.

    In my Workbook are two sheets, A and B. In Sheet A are in each row the Names and email Addresses and group names. For example, I want all the email Addresses for Group Apple in Sheet B, textjoined and separated by Comma.

    If in Sheet B the group name matches the group name in Sheet A, take the email address and concatenate it into one string and put it in Column C of sheet B.

    I used this formula
    Please Login or Register  to view this content.
    but the string of email addresses does not stop when the group name does not match anymore.

    I appended an sample Workbook.
    Attached Files Attached Files
    Last edited by MinisoftEggshell; 02-15-2022 at 10:43 AM.

  2. #2
    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
    81,282

    Re: Textjoin, Concat a list of emails if they are in a specific Group.

    Try this:

    =TEXTJOIN(", ",TRUE,FILTER(A!F2:F26,A!E2:E26=B2))

    or:

    =IFERROR(TEXTJOIN(", ",TRUE,FILTER(A!F$2:F$26,A!E$2:E$26=B2)),"")
    Attached Files Attached Files
    Last edited by AliGW; 02-15-2022 at 09:25 AM. Reason: Workbook attached.
    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.

  3. #3
    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
    81,282

    Re: Textjoin, Concat a list of emails if they are in a specific Group.

    No reply ...

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

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  4. #4
    Registered User
    Join Date
    05-06-2017
    Location
    Canada
    MS-Off Ver
    Office 365 subscription
    Posts
    44

    Re: Textjoin, Concat a list of emails if they are in a specific Group.

    Thank you. It works as intended. I have another Idea, or should I open a new question for it?

    I think it requires a Macro or VBA of some sort, correct me if I'm wrong, but: It would be helpful to create SEPERATE Workbooks for each Group Name. So that I would have a separate file in a directory for each group Name.

  5. #5
    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
    81,282

    Re: Textjoin, Concat a list of emails if they are in a specific Group.

    Please mark this thread as solved, as requested.

    Your new query is for a new thread with appropriate title in the appropriate sub-forum (VBA section).

    Thanks.

+ 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] extract last 3 numbers from each concat. value in col. B and add to col. A concat cells
    By therealdees in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-17-2021, 11:02 AM
  2. need a macro that will send an email or emails from a list of emails
    By MassiveJim in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-08-2020, 11:09 PM
  3. Trying to use TEXTJOIN or CONCAT but need to format a date within it
    By brazendynamic in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-01-2020, 04:02 PM
  4. CONCAT in one specific Line if value dosne't contain an specific value
    By mismcv in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-15-2019, 11:29 PM
  5. CONCAT/TEXTJOIN on Variable Number of Cells
    By OlYeller21 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-10-2019, 06:29 AM
  6. TEXTJOIN only specific words
    By thoart in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2017, 07:56 AM
  7. Replies: 3
    Last Post: 09-18-2014, 02:21 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