Re: compare numbers and mark duplicates

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



>From the way yo wrote it, are you using the quote marks around the cell
reference in the countif equation?
if you are referencing a cell do not use the quote marks.

"Lucas" wrote:

> the COUNTIF function doesnt work with a variable criteria, it only seem to
> get it to work when I use things like ">55" or "=3", but not for example cell
> "D7"...
>
> Lucas
>
> "Damon Longworth" wrote:
>
> > Try something similar to this conditional formatting - Formula Is:
> >
> > =COUNTIF($D$1:$D$8,D1)>1
> >
> > D1 must be the active cell and note the absolute and relative references.
> >
> > --
> > Damon Longworth
> >
> > Don't miss out on the 2005 Excel User Conference
> > Sept 16th and 17th
> > Stockyards Hotel - Ft. Worth, Texas
> > www.ExcelUserConference.com
> >
> >
> > "Lucas" <Lucas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:1A688E7C-AF21-4124-A954-AE3C89877F5A@xxxxxxxxxxxxxxxx
> > > Hello all,
> > >
> > > I have a row of 9 cells, which I want to fill with the numbers 1 to 9.
> > > Each
> > > time I put a number in a cell I want excel to compare all 9 cells in the
> > > row.
> > > If I type in a number that is already in one of the other 8 cells I want
> > > it
> > > to light up in red. I tried using "conditional formatting" but I can only
> > > compare 2 cells at a time. Does anybody have an idea?
> > >
> > > Thanks in advance,
> > > Lucas
> >
> >
> >
.



Relevant Pages

  • RE: Lookup Data in two seperate Spreadsheets
    ... 'Cell Formula using the OFFSET worksheet formula with multiple criteria to ... Just as VLOOKUP will give you the FIRST value it finds that meets it's ... 'Returns a reference to a range that is a specified number of rows and columns ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Getting cell index from cell to the right
    ... Once per reference is sufficient, and can shorten your formula a little. ... Take Care RagDyer, ... Please keep all correspondence within the NewsGroup, ... I gave the cell a name and set it to refer to the cell to the ...
    (microsoft.public.excel.misc)
  • RE: Lookup Data in two seperate Spreadsheets
    ... 'Cell Formula using the OFFSET worksheet formula with multiple criteria to ... Just as VLOOKUP will give you the FIRST value it finds that meets it's ... 'Returns a reference to a range that is a specified number of rows and columns ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Lookup Data in two seperate Spreadsheets
    ... 'Cell Formula using the OFFSET worksheet formula with multiple criteria to ... Just as VLOOKUP will give you the FIRST value it finds that meets it's ... 'Returns a reference to a range that is a specified number of rows and columns ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Why oh Y
    ... Bill Ridgeway ... Is it the last character in the source file name, ... Equally, with the word Summary in cell B3, it returns Summary to me ... correct reference and b) it wouldn't answer the question why the ...
    (microsoft.public.excel)