ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional formatting question (https://www.excelbanter.com/excel-discussion-misc-queries/107721-conditional-formatting-question.html)

SGT Buckeye

Conditional formatting question
 
I have a column that contains 528 membership numbers sorted in
ascending order. Some of the membership numbers are duplicates and
each is 8 or 9 digits long. I would like to apply conditional
formatting to this column to identify the duplicates so I don't have to
go through and do this manually. Please help.


Toppers

Conditional formatting question
 
Assuming data is in column A:

Formula is: =COUNTIF(A:A,A1)1

"SGT Buckeye" wrote:

I have a column that contains 528 membership numbers sorted in
ascending order. Some of the membership numbers are duplicates and
each is 8 or 9 digits long. I would like to apply conditional
formatting to this column to identify the duplicates so I don't have to
go through and do this manually. Please help.



ed

Conditional formatting question
 
Assuming the membership column # is B, set your conditional format in
cell B-2 to "cell value", "is equal to" =B1 Then use the formula
brush to copy it down to the end of column B. All the duplicated
numbers will "format" the color you pick, except the first one in each
set of duplicated numbers.

If you want ALL the duplicate #s highlighted start with cell B-1 and
put a second condition in cell B-1 "cell value" "is equal to" =B2
and copy it down the entire column. This condition alone will
highlight all but the last duplicated number.

ed


SGT Buckeye wrote:
I have a column that contains 528 membership numbers sorted in
ascending order. Some of the membership numbers are duplicates and
each is 8 or 9 digits long. I would like to apply conditional
formatting to this column to identify the duplicates so I don't have to
go through and do this manually. Please help.



SGT Buckeye

Conditional formatting question
 
Thanks Toppers, this worked. It highlighted the first membership
number that was a duplicate.
Toppers wrote:
Assuming data is in column A:

Formula is: =COUNTIF(A:A,A1)1

"SGT Buckeye" wrote:

I have a column that contains 528 membership numbers sorted in
ascending order. Some of the membership numbers are duplicates and
each is 8 or 9 digits long. I would like to apply conditional
formatting to this column to identify the duplicates so I don't have to
go through and do this manually. Please help.





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

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