+ Reply to Thread
Results 1 to 5 of 5

Display the unique word from a list

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Display the unique word from a list

    I am looking to display the one unique item from a list

    1
    2
    1
    1
    1
    1

    So I need to display the number 2 as the only unique item in the list.

    Cheers

    JD

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Display the unique word from a list

    Try this array formula**:

    =INDEX(A2:A7,MATCH(1,COUNTIF(A2:A7,A2:A7),0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Display the unique word from a list

    Awesome answer, cheers Tony life saver again pal

    John

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Display the unique word from a list

    You're welcome. Thanks for the feedback!

  5. #5
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Display the unique word from a list

    Bugger! Id come up with a UDF
    Function OneUnique(inRange As Range) As String
    For Each cell In inRange
    x = Application.WorksheetFunction.CountIf(inRange, cell.Value)
    If (x = 1) Then
        OneUnique = cell.Value
    End If
    Next cell
    End Function
    If someone has helped you then please add to their Reputation

+ 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] Unique Random Words From Word List
    By uniks in forum Excel General
    Replies: 5
    Last Post: 03-03-2014, 06:42 AM
  2. [SOLVED] Display All results from word list that appear in cell
    By sam103329 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-22-2013, 02:47 PM
  3. Need to display Unique Values in a list and return them
    By citibond in forum Excel General
    Replies: 4
    Last Post: 04-26-2012, 12:34 AM
  4. Macro to display list of unique data from spreadsheet
    By paulcresswell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2009, 05:10 AM
  5. Replies: 5
    Last Post: 08-26-2008, 01:07 PM
  6. Combo Box - Display Unique Items in List
    By Gary S in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2007, 11:15 AM
  7. Display Unique Names From a Long List
    By Phillycheese5 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-27-2007, 07:06 PM
  8. [SOLVED] Unique Word List
    By Rebecca in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-05-2005, 03:06 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