Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
james
 
Posts: n/a
Default


Thanks. It worked with "numbers" now once I shortened the formula as you
suggested.

However, if I were to mix the column with text and numbers, the duplicated
text still not higlighted. But it is good enough for me for the current
purpose.

I suppose I extended the conditional formatting to the added cells by the
use and referrence of dynamic range name.

Best regards.

james


"Biff" wrote:

Hi!

This works just fine for me. I suspect the problem may be the the way you
"extended" the conditional formatting.

=IF(COUNTIF(Range1,A1)1,TRUE,FALSE)


You can shorten that to:

=COUNTIF(Range1,A1)1

How did you extend the conditional formatting?

Biff

"james" wrote in message
...
Hello everyone:

I am learning to highlight duplicates in dynamic range. The problem I have
is that the highlighting is not been applied consistently to the extended
cell values.

In the Name-Define-Refers-to box I entered
=OFFSET($A$1,0,0,COUNTA($A:$A),1)
for the dynamic range (Range1). I put duplicates in A1 to A5.

I highlighted A1 to A5 and put =IF(COUNTIF(Range1,A1)1,TRUE,FALSE) in the
Formula Is box with format blue. It worked. The duplicates are highlighted
blue.

But as I extended the range with entries, intentionally separating the
duplicates, some turned blue and some not. I used the "goto" to check the
new
range. The New Range (Range1) covered the new entries but the new
duplicates
did not change to blue.

Data: A1 to A5, I entered 1, 2, 2, 3, 4. The 2s went blue. Then: from A6
to
A10, I entered say 545, 2, 855, 2, 2. The first (A7) 2 went blue but not
the
latter 2s.

Any help will be appreciated. Thank you in advance.

james




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
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM
conditional formatting on a PivotTable? confused Charts and Charting in Excel 0 June 13th 05 04:15 PM
Conditional formatting applicable to entire column jackalx Excel Worksheet Functions 1 May 26th 05 05:20 PM
conditional formatting conflict? Abi Excel Worksheet Functions 2 January 11th 05 03:41 PM
Conditional Formatting Graham Warren Excel Worksheet Functions 0 November 7th 04 04:58 PM


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