Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Identifying duplicate content in column


Hi,

I am trying to highlight a cell in red when all its content is already
contained in any of the cells above it.

I was recommended to use something like =COUNTIF(A:A,A1)1 , however
this seems to be looking for duplicate number values (with the 1). Am
I correct?

Essentially I need to say:

if the content of cell Ax is = to the content of any of the cells
A1:Ax-1, then highlight Ax in red

Is this possible?

JP


--
excelstart
------------------------------------------------------------------------
excelstart's Profile: http://www.excelforum.com/member.php...fo&userid=5881
View this thread: http://www.excelforum.com/showthread...hreadid=499209

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Identifying duplicate content in column

Provided your formula is in a conditional format, it will highlight ALL
duplicates in column A.
To Highlight duplicates without highlighting the first value, use this
formula in conditional formatting in cell A1 then use the formula painter
down column A or Edit, Paste Special, Formats.

=COUNTIF(A1:$A$1,A1)1
--
Steve

"excelstart" wrote
in message ...

Hi,

I am trying to highlight a cell in red when all its content is already
contained in any of the cells above it.

I was recommended to use something like =COUNTIF(A:A,A1)1 , however
this seems to be looking for duplicate number values (with the 1). Am
I correct?

Essentially I need to say:

if the content of cell Ax is = to the content of any of the cells
A1:Ax-1, then highlight Ax in red

Is this possible?

JP


--
excelstart
------------------------------------------------------------------------
excelstart's Profile:
http://www.excelforum.com/member.php...fo&userid=5881
View this thread: http://www.excelforum.com/showthread...hreadid=499209



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Identifying duplicate content in column


Confused, if I input the formula in the cell and copy it down the
column, and then I try to fill in the data, the formulas are replaced
with the text I type in.

Is there any way of embedding the formula in the cells so that the
formula is not affected by me typing the content?

JP


--
excelstart
------------------------------------------------------------------------
excelstart's Profile: http://www.excelforum.com/member.php...fo&userid=5881
View this thread: http://www.excelforum.com/showthread...hreadid=499209

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Identifying duplicate content in column

Your formula needs to be entered as a conditional format formula. To do
this:
1) Click on cell A1
2) Click the Format menu
3) Click "conditional Formatting
4) Change the condition from 'cell value is' to 'formula is'
5) Copy and paste the formula from the previous mail
6) Click the 'Format' button
7) Choose your formatting options
8) Click 'OK'

To learn more, try Debra Dalgleish's site
http://www.contextures.com/xlCondFormat01.html


"excelstart" wrote
in message ...

Confused, if I input the formula in the cell and copy it down the
column, and then I try to fill in the data, the formulas are replaced
with the text I type in.

Is there any way of embedding the formula in the cells so that the
formula is not affected by me typing the content?

JP


--
excelstart
------------------------------------------------------------------------
excelstart's Profile:
http://www.excelforum.com/member.php...fo&userid=5881
View this thread: http://www.excelforum.com/showthread...hreadid=499209



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
Identifying Duplicate data between 2 columns Naja Excel Worksheet Functions 3 July 7th 09 06:16 AM
Identifying duplicate data KKD Excel Discussion (Misc queries) 2 May 28th 09 12:39 AM
Identifying duplicate entries japc90 Excel Discussion (Misc queries) 5 February 1st 08 05:36 PM
Identifying duplicate rows TBA Excel Discussion (Misc queries) 2 June 15th 07 09:38 AM
Dame: identifying duplicate numbers within a column Damondism's Excel Worksheet Functions 2 June 14th 06 03:47 AM


All times are GMT +1. The time now is 01:56 PM.

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"