+ Reply to Thread
Results 1 to 4 of 4

Modify TEXTJOIN formula to avoid duplicate returns

  1. #1
    Registered User
    Join Date
    11-09-2009
    Location
    Shropshire UK
    MS-Off Ver
    Excel 365
    Posts
    38

    Question Modify TEXTJOIN formula to avoid duplicate returns

    Hi.

    I'm using this formula to return keywords based on a search of one cell
    Please Login or Register  to view this content.
    How can I avoid duplicated keywords if the search finds two target words in F2 with the same Keywords?

    eg
    Keywords! A1= Red B1=Colour
    Keywords! A2= Blue B2=Colour

    If F2 contains 'Red' and 'Blue' I only want 'Colour' returned once (as opposed to 'Colour>Colour' which is what I currently get)

    Thanks.

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

    Re: Modify TEXTJOIN formula to avoid duplicate returns

    One option:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    could likely be shortened ...

  3. #3
    Registered User
    Join Date
    11-09-2009
    Location
    Shropshire UK
    MS-Off Ver
    Excel 365
    Posts
    38

    Re: Modify TEXTJOIN formula to avoid duplicate returns

    Hi XLent.

    Thanks for your reply. When I try that I just get '0' as the output. I've reduced my spreadsheet down to minimum columns so that you can see it in action and attached.

    Thanks, Phil.
    Attached Files Attached Files

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

    Re: Modify TEXTJOIN formula to avoid duplicate returns

    my bad, prefix the ranges in the match with Keywords, given this is where the terms are located; below based on your file:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    note: above does not require Array entry; if you won't have blanks in Keyword ranges then both "x"& in the Match can be removed.

+ 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. Removing Duplicate Returns on Calculations (Not Duplicate Lines)
    By TeamOSupremeO in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-23-2018, 09:28 AM
  2. [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
  3. [SOLVED] TextJoin formula with MID function
    By Brsth in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-26-2018, 11:00 AM
  4. [SOLVED] Set up avoid duplicate problem
    By aleman_li in forum Excel General
    Replies: 2
    Last Post: 04-23-2015, 10:12 AM
  5. Excel 2007 : How to avoid duplicate entry
    By suhail in forum Excel General
    Replies: 4
    Last Post: 10-24-2010, 10:17 PM
  6. Avoid Duplicate Names
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2010, 01:48 PM
  7. Avoid Duplicate Records
    By Amarjeet Singh in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-22-2009, 09:05 PM

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