+ Reply to Thread
Results 1 to 4 of 4

Formula to return single unique value from column

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    Newfoundland, Canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Formula to return single unique value from column

    I have a list of numbers in cells B3:B10.

    There is only one unique value in the list and the rest are duplicates.

    I need a formula in cell B1 that would tell me what that one unique value is?

    Thanks.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to return single unique value from column

    Maybe this

    =INDEX(B3:B10,SMALL(IF(B3:B10<>MODE(B3:B10),ROW(B3:B10)-ROW(B3)+1),1))

    or this

    =MIN(IF(B3:B10<>MODE(B3:B10),B3:B10))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    B
    C
    D
    3
    5
    3
    4
    5
    5
    5
    6
    5
    7
    5
    8
    3
    9
    5
    10
    5
    Last edited by AlKey; 08-28-2014 at 02:18 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Formula to return single unique value from column

    iN C3

    =INDEX($B$3:$B$10,MATCH(0,COUNTIF($C$2:C2,$B$3:B10),0))

    Give ctrl+shift+enter
    Click just below left if it helps, Boo?ath?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula to return single unique value from column

    maybe
    =INDEX(B3:B10,MATCH(1,FREQUENCY(B3:B10,B3:B10),0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. Replies: 2
    Last Post: 12-04-2013, 09:45 PM
  2. [SOLVED] COUNTIF Formula to Return Multiple Values in a Single Column
    By TommyK25 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-05-2013, 05:01 AM
  3. [SOLVED] Vlookup & return all unique values to a single cell
    By PY_ in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-24-2013, 02:42 AM
  4. Return Single Row of Numeric Data to Single Column
    By Sam via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-16-2005, 08:35 PM
  5. [SOLVED] Index Row and return data in a Single Column:No return
    By Domenic in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 04:05 AM

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