Share via

Extract unique data from table

Anonymous
2011-03-06T07:50:34+00:00

Hi,

I have a table a1:c10 (data: text, numbers).

I want to extract the unique data in column D.

Ron Coderre's formula:

returns (in column D) the value that has the cell A1.

(i have Excel 2003)

Thank you all in advance.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-03-06T12:47:23+00:00

The D2 formula is an array formula and must be committed by pressing CTRL+SHIFT+ENTER. (instead of just ENTER)

In my testing it listed each unique value in the A1:C10 range, when copied down Col_D.

Are you having an issue with that formula?

Was this answer helpful?

0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-03-28T18:29:13+00:00

    Came across your solution ... Thanks for sharing!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-03-07T17:58:42+00:00

    Ron Coderre's formula:

    D1: =A1

    D2: =INDEX($A$1:$C$10,INT(SMALL(IF(COUNTIF(D$1:D1,$A$1:$C$10)=0,ROW($A$1:$C$10)+(COLUMN($A$1:$C$10)*0.01)),1)),100*MOD(SMALL(IF(COUNTIF(D$1:D1,$A$1:$C$10)=0,ROW($A$1:$C$10)+(COLUMN($A$1:$C$10)*0.01)),1),1))

    Hi Ron,

    The above formula has problems in row insertion. I even tried to replace ROW() & Column() with Indirect() but get error.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-03-06T13:50:55+00:00

    Hi Ron,

    I found this formula in a reply to Horatio J. Bilge

    (question: List unique values in range).

    I copy down as simple formula.

    Now the array formula works perfectly.

    Thank you.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-03-06T08:54:46+00:00

    Ron Coderre's formula:

    D1: =A1

    D2: =INDEX($A$1:$C$10,INT(SMALL(IF(COUNTIF(D$1:D1,$A$1:$C$10)=0,ROW($A$1:$C$10)+(COLUMN($A$1:$C$10)*0.01)),1)),100*MOD(SMALL(IF(COUNTIF(D$1:D1,$A$1:$C$10)=0,ROW($A$1:$C$10)+(COLUMN($A$1:$C$10)*0.01)),1),1))

    Was this answer helpful?

    0 comments No comments