Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Conditional Formating by truncated values....

I wish to conditionally format a range (say A1:A1000) with the following
criteria;

For each cell in the range(A1:A1000), how many of the other cells in that
same range, share the first 4 characters - if greater than 1; format.....,
etc.?

I looked at the countif function, but couldn't find a way to apply it and
I'm stuck for alternatives.....

Any bright ideas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditional Formating by truncated values....

select A1:A1000 with A1 as the active cell

do format=Conditional Formatting

change cell value is to Formula is

Enter this formula

=COUNTIF($A$1:$A$1000,LEFT(A1,4)&"*")1

click the format button and select the shading.

--
Regards,
Tom Ogilvy


"JB2005" wrote in message
...
I wish to conditionally format a range (say A1:A1000) with the following
criteria;

For each cell in the range(A1:A1000), how many of the other cells in that
same range, share the first 4 characters - if greater than 1; format.....,
etc.?

I looked at the countif function, but couldn't find a way to apply it and
I'm stuck for alternatives.....

Any bright ideas?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Conditional Formating by truncated values....

Thanks Tom,

So simple when you understand how...
;-)

"Tom Ogilvy" wrote:

select A1:A1000 with A1 as the active cell

do format=Conditional Formatting

change cell value is to Formula is

Enter this formula

=COUNTIF($A$1:$A$1000,LEFT(A1,4)&"*")1

click the format button and select the shading.

--
Regards,
Tom Ogilvy


"JB2005" wrote in message
...
I wish to conditionally format a range (say A1:A1000) with the following
criteria;

For each cell in the range(A1:A1000), how many of the other cells in that
same range, share the first 4 characters - if greater than 1; format.....,
etc.?

I looked at the countif function, but couldn't find a way to apply it and
I'm stuck for alternatives.....

Any bright ideas?




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
Copying Conditional formating in a List of text and values. Iraj Excel Worksheet Functions 15 February 19th 09 07:25 PM
Conditional Formating Based on Formats Instead of Values Abby Dabby Doo Excel Discussion (Misc queries) 1 May 15th 08 01:18 AM
conditional formating cells i Excel based on other cells values Elias Petursson Excel Worksheet Functions 3 May 23rd 06 06:45 PM
list two columnar values based on conditional formating (text color) beechum1 Excel Worksheet Functions 2 February 12th 06 09:53 AM
Format cells to display truncated values? Mike Excel Discussion (Misc queries) 2 December 7th 04 10:13 PM


All times are GMT +1. The time now is 06:42 AM.

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"