Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Highlighting cell if content is duplicate


Hi,

I am compiling a list with 3 columns and unlimited rows.

I need to avoid duplicate content by highlighting a cell in red if th
cell content is contained in any of the cells in its respectiv
column.

I have been trying with the if statement doing something like:

if:Ax=A1:Ax-1

I am not sure if the above synthax is correct, and how to highlight th
cell in red if the condition is true. Cell contents can be both number
and letters (spaces are allowed).

Can you help?

J

--
excelstar
-----------------------------------------------------------------------
excelstart's Profile: http://www.excelforum.com/member.php...nfo&userid=588
View this thread: http://www.excelforum.com/showthread.php?threadid=49828

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Highlighting cell if content is duplicate

Using conditional formatting, try a formula of

=COUNTIF(A:A,A1)1

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"excelstart" wrote
in message ...

Hi,

I am compiling a list with 3 columns and unlimited rows.

I need to avoid duplicate content by highlighting a cell in red if the
cell content is contained in any of the cells in its respective
column.

I have been trying with the if statement doing something like:

if:Ax=A1:Ax-1

I am not sure if the above synthax is correct, and how to highlight the
cell in red if the condition is true. Cell contents can be both numbers
and letters (spaces are allowed).

Can you help?

JP


--
excelstart
------------------------------------------------------------------------
excelstart's Profile:

http://www.excelforum.com/member.php...fo&userid=5881
View this thread: http://www.excelforum.com/showthread...hreadid=498289



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Highlighting cell if content is duplicate


The formula below gives an invalid loop, could you put me a bit more i
the right direction? Also do you know how to highlight the cell in re
background if the condition holds true?

J

--
excelstar
-----------------------------------------------------------------------
excelstart's Profile: http://www.excelforum.com/member.php...nfo&userid=588
View this thread: http://www.excelforum.com/showthread.php?threadid=49828

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
Highlighting duplicate entries Seb Warmoth Excel Worksheet Functions 2 March 12th 07 12:40 PM
Using Formula based Cell Content Return Unique Consecutive Duplicate Values Sam via OfficeKB.com Excel Worksheet Functions 8 February 7th 07 11:33 PM
highlighting duplicate values Alice Excel Worksheet Functions 2 February 10th 06 06:39 AM
Cond Format & helper-cell based "duplicate rec" tricked by content Dennis Excel Discussion (Misc queries) 3 December 16th 05 06:55 PM
Cell content elimination; duplicate BudD Excel Worksheet Functions 1 April 1st 05 12:52 AM


All times are GMT +1. The time now is 09:29 PM.

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

About Us

"It's about Microsoft Excel"