ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   What command can I use to see if any cells equal the same. (https://www.excelbanter.com/excel-discussion-misc-queries/100677-what-command-can-i-use-see-if-any-cells-equal-same.html)

KRou

What command can I use to see if any cells equal the same.
 
I'm updating 2000 records and trying to make sure I don't
duplicateinformation. Is there a way I can use a command that will tell me
if any of the cells in this row equal the same thing, then 'Yes"?

Elkar

What command can I use to see if any cells equal the same.
 
This formula should work for you:

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

You can place this in an adjacent column, then copy down.

Another option would be to use Conditional Formatting to highlight any rows
containing duplicates. Select your column of data, then choose Conditional
Formatting from the Format Menu. Change "Cell Value Is" to "Formula Is" and
enter:

=COUNTIF($A$1:$A$2000,A1)1

Then set your format.

HTH,
Elkar


HTH,
Elkar


"KRou" wrote:

I'm updating 2000 records and trying to make sure I don't
duplicateinformation. Is there a way I can use a command that will tell me
if any of the cells in this row equal the same thing, then 'Yes"?


KRou

What command can I use to see if any cells equal the same.
 
Thank you Elkar!!

"Elkar" wrote:

This formula should work for you:

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

You can place this in an adjacent column, then copy down.

Another option would be to use Conditional Formatting to highlight any rows
containing duplicates. Select your column of data, then choose Conditional
Formatting from the Format Menu. Change "Cell Value Is" to "Formula Is" and
enter:

=COUNTIF($A$1:$A$2000,A1)1

Then set your format.

HTH,
Elkar


HTH,
Elkar


"KRou" wrote:

I'm updating 2000 records and trying to make sure I don't
duplicateinformation. Is there a way I can use a command that will tell me
if any of the cells in this row equal the same thing, then 'Yes"?



All times are GMT +1. The time now is 07:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com