Need help figuring out a formula or macro

Closed
John - Aug 27, 2011 at 05:06 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Aug 28, 2011 at 09:58 PM
Hello,

I need some kind of formula or macro that can do the following:

If the exact value of a cell in column C is found anywhere in column A, then the word "duplicate" needs to be added in column B next to the value that was found to be a duplicate from the cell in column C.

A summary of my problem is basically I have content 800 cells of duplicate content in column C, that is within 2400 cells of column A. I need to remove the rows of duplicates from column A.

Thanks in advance.

John

Related:

3 responses

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Aug 28, 2011 at 03:20 AM
the data from A1 is like this

name data
a a
s d
d g
f j
g w
h e
j r
k t
l

in C2 type ( copy) this formula

=IF(COUNTIF(A2:A100,B2)=1,"duplicate","")
copy c2 down

you will get

name data
a a duplicate
s d duplicate
d g duplicate
f j duplicate
g w
h e
j r
k t
l


provision made for 100 data in column A
0
Not exactly what I'm looking for. Let me try to explain it again. If a cell in column C if found anywhere in column A, then "duplicate" must be written in column B next to the cell of column A where the duplicate cell was found.
0
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Aug 28, 2011 at 09:58 PM
the logic remains the same

can you simply put the formula in B2 with words B2 changed to C2 Try on your own and it will be a pleasure to modify a formula given by another person. if there is problem post back
0