How to supress duplicates?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

eg if i have

col1 col2 col3 col4
1 2 3 4
1 2 3 6
1 2 3 5
7 8 9 10
i want
1 2 3 4
6
5
7 8 9 10

how do i do this???

mike
 
If you want a second table:

Assuming the original is in column A to column D, starting in A1:

=IF(COUNTIF($A$1:A1,A1)=1,A1,"")

Copy across to 4 columns then down as needed.

Biff
 
That does work but what if in a column the same number repeats?
as in column 3 the last 3 will be blank?

1 2 3 4
1 2 3 6
1 2 3 5
7 8 9 6
7 8 3 7
 
That does work but what if in a column the same number repeats?
as in column 3 the last 3 will be blank?

Isn't that what you wanted? The last 3 is a dupe so it will be "suppressed".
In fact, based on this last example, the entire last row will be suppressed.

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top