Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Identify duplicates in row with conditional formatting

Good to know.. The point to be noted while working with CF is that MS Excel
assigns the formula to all the cells in the selection. The cell reference
made in the formula should be the active cell in the selection... and as
mentioned earlier active cell will have a white background even after
selection...


If this post helps click Yes
---------------
Jacob Skaria


"Carolyn" wrote:

OHHH!!!! I got it! I found where I was going wrong. When I entered in A2
(after the range selection in the formula), I was physically clicking on A2
which appeared as $A$2, so I took out and typed in 'A2' and I got it. Thank
you! It's usually the little things that trip you up!!

"Jacob Skaria" wrote:

1. Select the range (A2 - A513)
2. From menu FormatConditional Formatting
3. For Condition1Select 'Formula Is' and enter the below formula
=COUNTIF(A$2:A$513,A2)1

OR (to highlight the 1st duplicate incase there are two)
=COUNTIF(A2:A$513,A1)1

Please note that the cell reference A2 mentioned in the formula is the
active cell in the selection. Active cell will have a white background even
after selection
4. Click Format ButtonPattern and select your color (say Red)
5. Hit OK

If this post helps click Yes
---------------
Jacob Skaria


"Carolyn" wrote:

For some reason, I can't get it to work, I feel dumb. Can you verify that I'm
not missing anything, please?

I have a column titled "Serial Number" - located in A1
Then each line, from A2 - A513, each cell has a serial number in it, but I
know I have duplicates in there.

I have tried to select the cell and then do the conditional formatting and I
have set my cursor on A2 and go to the top and select the range for the
'count if' formula and when I hit enter, it doesn't color the duplicate cells.
How do I set it for the entire selection?


"Teethless mama" wrote:

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


"Carolyn" wrote:

I having trouble setting up my conditional format to identify duplicate
entries in a single column. Can someone please assist me with how to set it
up? In my spreadsheet of data, I have only 1 column that I want to identify
duplicates with a color.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting Duplicates Karen Excel Discussion (Misc queries) 2 August 18th 08 10:46 PM
Conditional formatting of duplicates in a range gerhard Excel Worksheet Functions 2 April 16th 08 05:55 PM
Conditional Formatting for Duplicates Daren Excel Worksheet Functions 2 July 8th 07 02:32 PM
Duplicates in Conditional Formatting Mr P Excel Discussion (Misc queries) 5 January 26th 07 02:42 AM
Conditional Formatting to find duplicates Personal Assistant Excel Discussion (Misc queries) 2 February 16th 06 04:16 PM


All times are GMT +1. The time now is 04:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"