+ Reply to Thread
Results 1 to 3 of 3

Arrayfunction TEXTJOIN only receive unique values

  1. #1
    Registered User
    Join Date
    06-28-2018
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2018
    Posts
    4

    Arrayfunction TEXTJOIN only receive unique values

    Hey there,

    I've been researching this for a while and couldnt find anything, so I am asking here.

    I am using a Textjoin Array function to write down all customer_IDs that receive a certain Coupon_ID. The function is as followed:

    TEXTJOIN ", ", 1 , REPT Customer_ID ; Coupon_Match = Coupon_ID + 0

    So my result is correct and looks for example like this:

    yogurt_2 | 4310023099
    nuts_2 | 4310023099, 4310023099, 401

    But I want it to look like the following:

    yogurt_2 | 4310023099
    nuts_2 | 4310023099, 401

    I've tried to eliminate double values with IF and MATCH function, but then it just deleted all "4310023099", even the one from yogurt_2.

    Any Ideas? Maybe also for Macros?

    Thanks!

    Nora
    Last edited by Nora Kro; 08-21-2018 at 12:04 PM.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Arrayfunction TEXTJOIN only receive unique values

    Although there are formula ways to return unique values without seeing the layout of source data I am reduced to guessing. An uploaded sample Excel workbook is almost always helpful.

    If you are not familiar with how to do this:

    To attach a file to your post: (Please no pics or screenshots ... saves retyping data.),
    • be sure to desensitize the data
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”

    The file name will appear at the bottom of your reply.
    Dave

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Arrayfunction TEXTJOIN only receive unique values

    In the meantime see if this meager sample helps any.

    In B1 as in the below
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    A
    B
    1
    4310023099
    4310023099, 4310023098
    2
    4310023099
    3
    4310023098
    4
    4310023099
    5
    4310023099
    6
    4310023098
    7
    4310023099
    8
    4310023099
    9
    4310023099

+ 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] How can I modify my array TEXTJOIN formula to output only unique values
    By Victorjo in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-06-2018, 01:50 AM
  2. How can I receive the multi return values from DLL in VBA(Excel Visual Basic)?
    By u24c02 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-13-2017, 09:25 PM
  3. Using ArrayFunction to link multiple formulas in one cell
    By 5degrees in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-09-2017, 02:07 PM
  4. [SOLVED] INDEX MATCH as arrayfunction using MAX and PRODUCT
    By Sherk in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-06-2016, 08:48 AM
  5. Replies: 4
    Last Post: 03-12-2014, 12:50 PM
  6. I want to receive different values when using vlookup. How can I do that?
    By andreiiulian90 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2014, 10:51 AM
  7. [SOLVED] How to receive an error if values exceed budget
    By cryoffalcon in forum Excel General
    Replies: 5
    Last Post: 05-08-2012, 12:04 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