+ Reply to Thread
Results 1 to 4 of 4

TEXTJOIN - getting 1 occurrence of duplicate values only

  1. #1
    Registered User
    Join Date
    07-08-2019
    Location
    GENT
    MS-Off Ver
    O365
    Posts
    13

    TEXTJOIN - getting 1 occurrence of duplicate values only

    Hi,
    I have searched the forum, but no similar problem found.

    Underlying code returns the info I want, but has doubles.
    I would want to see only occurrence of each value.

    Please Login or Register  to view this content.
    ActiveCell.FormulaArray = "=TEXTJOIN(""" & Delimit & """,TRUE,IF(" & LookUpRange & " = " & LookUpValue & "," & ResultRange & ",""""))"
    Please Login or Register  to view this content.
    which results in this formula:
    Please Login or Register  to view this content.
    However I would want to see 1 occurrence of every duplicate values only.
    See attachment. In example I want the outpu as in Cell I4 and I6, instead of the formula resulting in H4 and I4.
    Found different leads, but can't figure out a simple answer.

    Any help appreciated.
    A
    Attached Files Attached Files
    Last edited by aTRc; 07-30-2019 at 03:32 AM.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: TEXTJOIN - getting 1 occurrence of duplicate values only

    One option, in terms of native formula, which you could use in your code (not provided)

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    note: c/o INDEX the above does not require Array entry, i.e. can be confirmed with Enter {no more efficient, just arguably a little more robust}

  3. #3
    Registered User
    Join Date
    07-08-2019
    Location
    GENT
    MS-Off Ver
    O365
    Posts
    13

    Re: TEXTJOIN - getting 1 occurrence of duplicate values only

    Hi XLent

    That did the trick. Resolved.
    Thank you very much, also for the additional info!

    Greetz
    aTRc

  4. #4
    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
    80,830

    Re: TEXTJOIN - getting 1 occurrence of duplicate values only

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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] textjoin on unique values
    By richx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2019, 09:47 AM
  2. Modify TEXTJOIN formula to avoid duplicate returns
    By Thintin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2019, 11:06 AM
  3. Arrayfunction TEXTJOIN only receive unique values
    By Nora Kro in forum Excel General
    Replies: 2
    Last Post: 08-21-2018, 11:21 PM
  4. [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
  5. [SOLVED] Function to count duplicate or triplicate numbers occurrence in one cell
    By Karnik in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-19-2017, 11:04 PM
  6. [SOLVED] Remove duplicate instances of a word from a cell except the last occurrence .
    By rampulaparthi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2013, 04:08 AM
  7. Summary of all values and occurrence of each value
    By martho in forum Excel General
    Replies: 1
    Last Post: 11-28-2005, 05:55 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