LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
bj
 
Posts: n/a
Default

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" wrote in message
...
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






 
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
Convert numbers from text format to number format merlin68 Excel Discussion (Misc queries) 7 June 20th 07 07:03 PM
Rounding numbers to the nearest thousand Mark Excel Discussion (Misc queries) 2 March 10th 05 12:13 PM
converting to numbers smintey Excel Worksheet Functions 1 February 24th 05 02:51 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM


All times are GMT +1. The time now is 04:02 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"