+ Reply to Thread
Results 1 to 3 of 3

Highlighting cell if content is duplicate

  1. #1
    Registered User
    Join Date
    02-06-2004
    Posts
    5

    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 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

  2. #2
    Bob Phillips
    Guest

    Re: 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" <[email protected]> wrote
    in message news:[email protected]...
    >
    > 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. #3
    Registered User
    Join Date
    02-06-2004
    Posts
    5
    The formula below gives an invalid loop, could you put me a bit more in the right direction? Also do you know how to highlight the cell in red background if the condition holds true?

    JP

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1