How to Flag duplicate values in column

R

Ruth

I'm wondering how search for and flag duplicates in a column of data.
Basically what I'd like to do is create a formula that looks at the value in
an adjacent cell and tells me that value exists anywhere else in the column
of values eg something like...


=if(E3 exists somewhere else in column E), E3,"")

anyway to do this with just a formula?

TimeTraveller
 
J

josh.clifford

I'm wondering how search for and flag duplicates in a column of data.
Basically what I'd like to do is create a formula that looks at the value in
an adjacent cell and tells me that value exists anywhere else in the column
of values eg something like...

=if(E3 exists somewhere else in column E), E3,"")

anyway to do this with just a formula?

TimeTraveller

Under the Data menu, you can choose Filter, Autofilter and then check
the box to filter for unique records only. Alternatively, you could
sort the column in question as ascending, and then run an if statement
such as; if(a2=a1,1,0). Anything that shows up as a 1 is a duplicate.
 
T

T. Valko

Try this:

=IF(COUNTIF(D$3:D$10,D3)>1,D3,"")

Copy down.

If you're using Excel 2007 you can use conditional formatting to highlught
duplicates or uniques.

Home tab>Styles>Conditional Formatting>Highlight Cells Rules>Duplicate
Values
 
I

ilia

You can use conditional formatting in 2003 too. Just use the COUNTIF
part of Biff's formula, as the highlight condition, and copy it to all
cells in question using format painter.
 
R

Ruth

Thanks to all who took the time to respond. I knew I'd seen that somewhere
on my way to something else...thanks for the reminder

TimeTraveller
 
E

Emmanuel Garcia

Is it still as simple using Excel 2007? It appears to me that one extra
click is now required. Do you agree?

--
Regards from Los Angeles,

Emmanuel
Microsoft Windows Vista
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.4 GHz 3GB RAM
NVidia GeForce 8500 GT 512 MB


I'm wondering how search for and flag duplicates in a column of data.
Basically what I'd like to do is create a formula that looks at the value
in
an adjacent cell and tells me that value exists anywhere else in the
column
of values eg something like...

=if(E3 exists somewhere else in column E), E3,"")

anyway to do this with just a formula?

TimeTraveller

Under the Data menu, you can choose Filter, Autofilter and then check
the box to filter for unique records only. Alternatively, you could
sort the column in question as ascending, and then run an if statement
such as; if(a2=a1,1,0). Anything that shows up as a 1 is a duplicate.
 

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

Top