Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Conditional format for unique values

Hello,

I would like to set a conditional format to color each unique value a
different color. It will also be applied to multiple occurences of the value.
The problem is that the values are dynamic and may not always be the same
number of occurences, in the same cell, etc. I have used the formula
IF(ISNUMBER(COUNTIF($F$3:F3,F3)),ROW(),"")) to try to identify the occurences
but creating a conditional format has proven out of my league! Please help!
And thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditional format for unique values

Conditional formats are limited to 3 different formats in XL2003 or less. So
you can end up with a max of 3 different colours...
--
HTH...

Jim Thomlinson


"andiam24" wrote:

Hello,

I would like to set a conditional format to color each unique value a
different color. It will also be applied to multiple occurences of the value.
The problem is that the values are dynamic and may not always be the same
number of occurences, in the same cell, etc. I have used the formula
IF(ISNUMBER(COUNTIF($F$3:F3,F3)),ROW(),"")) to try to identify the occurences
but creating a conditional format has proven out of my league! Please help!
And thanks!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Conditional format for unique values

Right, and that's ok. My problem is identifying the value and multiple
occurences of the same value.

i.e. If the following IDs were in column A, I would like to shade all of the
matching occurences the same color (e.g. QC0042- green, QC0061- blue, QC0065-
red, etc.)

Day1 Day2 Day 3
Row Col A Col A Col A
1 QC0042 QC0054 QC0055
2 QC0061 QC0054 QC0055
3 QC0061 QC0054 QC0058
4 QC0061 QC0069 QC0058
5 QC0065 QC0069 QC0058
6 QC0065 QC0072 QC0058
7 QC0065 QC0072 QC0079

The day (Day 1, Day2, etc) denotes entirely new entries - where you can omit
the other columns of values- which is why they are all labeled as Col A, and
not a spreadsheet as it appears. Notice, the position is the same for the
different days so I was trying to kinda focus on that - making the position
in relation to the preceding number the color changing element. However, I
can't work it. Any assistance you can provide would be awesome.

"Jim Thomlinson" wrote:

Conditional formats are limited to 3 different formats in XL2003 or less. So
you can end up with a max of 3 different colours...
--
HTH...

Jim Thomlinson


"andiam24" wrote:

Hello,

I would like to set a conditional format to color each unique value a
different color. It will also be applied to multiple occurences of the value.
The problem is that the values are dynamic and may not always be the same
number of occurences, in the same cell, etc. I have used the formula
IF(ISNUMBER(COUNTIF($F$3:F3,F3)),ROW(),"")) to try to identify the occurences
but creating a conditional format has proven out of my league! Please help!
And thanks!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditional format for unique values

Yes but in your example you have used up your 3 colours. What happens for the
next ID? You could write a macro but you will still be limited to 56 colours
as that is the max number of colours in XL...
--
HTH...

Jim Thomlinson


"andiam24" wrote:

Right, and that's ok. My problem is identifying the value and multiple
occurences of the same value.

i.e. If the following IDs were in column A, I would like to shade all of the
matching occurences the same color (e.g. QC0042- green, QC0061- blue, QC0065-
red, etc.)

Day1 Day2 Day 3
Row Col A Col A Col A
1 QC0042 QC0054 QC0055
2 QC0061 QC0054 QC0055
3 QC0061 QC0054 QC0058
4 QC0061 QC0069 QC0058
5 QC0065 QC0069 QC0058
6 QC0065 QC0072 QC0058
7 QC0065 QC0072 QC0079

The day (Day 1, Day2, etc) denotes entirely new entries - where you can omit
the other columns of values- which is why they are all labeled as Col A, and
not a spreadsheet as it appears. Notice, the position is the same for the
different days so I was trying to kinda focus on that - making the position
in relation to the preceding number the color changing element. However, I
can't work it. Any assistance you can provide would be awesome.

"Jim Thomlinson" wrote:

Conditional formats are limited to 3 different formats in XL2003 or less. So
you can end up with a max of 3 different colours...
--
HTH...

Jim Thomlinson


"andiam24" wrote:

Hello,

I would like to set a conditional format to color each unique value a
different color. It will also be applied to multiple occurences of the value.
The problem is that the values are dynamic and may not always be the same
number of occurences, in the same cell, etc. I have used the formula
IF(ISNUMBER(COUNTIF($F$3:F3,F3)),ROW(),"")) to try to identify the occurences
but creating a conditional format has proven out of my league! Please help!
And thanks!!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Conditional format for unique values

3 + the default format, so 4 in total.
--
David Biddulph


"Jim Thomlinson" wrote in message
...
Conditional formats are limited to 3 different formats in XL2003 or less.
So
you can end up with a max of 3 different colours...
--
HTH...

Jim Thomlinson


"andiam24" wrote:

Hello,

I would like to set a conditional format to color each unique value a
different color. It will also be applied to multiple occurences of the
value.
The problem is that the values are dynamic and may not always be the same
number of occurences, in the same cell, etc. I have used the formula
IF(ISNUMBER(COUNTIF($F$3:F3,F3)),ROW(),"")) to try to identify the
occurences
but creating a conditional format has proven out of my league! Please
help!
And thanks!!





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional format for unique values

You can color band the groups:

1 QC0042 = green
2 QC0061 = default
3 QC0061 = default
4 QC0061 = default
5 QC0065 = green
6 QC0065 = green
7 QC0065 = green
8 QC0077 = default
9 QC0077 = default
etc
etc

However, the formula needed to do this is very calculation intensive so if
you have 1000's of rows of data it'll slow things to a crawl (literally).

--
Biff
Microsoft Excel MVP


"andiam24" wrote in message
...
Right, and that's ok. My problem is identifying the value and multiple
occurences of the same value.

i.e. If the following IDs were in column A, I would like to shade all of
the
matching occurences the same color (e.g. QC0042- green, QC0061- blue,
QC0065-
red, etc.)

Day1 Day2 Day 3
Row Col A Col A Col A
1 QC0042 QC0054 QC0055
2 QC0061 QC0054 QC0055
3 QC0061 QC0054 QC0058
4 QC0061 QC0069 QC0058
5 QC0065 QC0069 QC0058
6 QC0065 QC0072 QC0058
7 QC0065 QC0072 QC0079

The day (Day 1, Day2, etc) denotes entirely new entries - where you can
omit
the other columns of values- which is why they are all labeled as Col A,
and
not a spreadsheet as it appears. Notice, the position is the same for the
different days so I was trying to kinda focus on that - making the
position
in relation to the preceding number the color changing element. However, I
can't work it. Any assistance you can provide would be awesome.

"Jim Thomlinson" wrote:

Conditional formats are limited to 3 different formats in XL2003 or less.
So
you can end up with a max of 3 different colours...
--
HTH...

Jim Thomlinson


"andiam24" wrote:

Hello,

I would like to set a conditional format to color each unique value a
different color. It will also be applied to multiple occurences of the
value.
The problem is that the values are dynamic and may not always be the
same
number of occurences, in the same cell, etc. I have used the formula
IF(ISNUMBER(COUNTIF($F$3:F3,F3)),ROW(),"")) to try to identify the
occurences
but creating a conditional format has proven out of my league! Please
help!
And thanks!!



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Conditional format for unique values

The way the spreadsheet is designed, the probability of more than 4 IDs being
used at any given time is slim, so the next time IDs are input, they can use
the same four colors because they will replace the previous IDs. I'm just not
sure how to word the conditional format to identify which values are
repeating and which are unique and color appropriately.

"Jim Thomlinson" wrote:

Yes but in your example you have used up your 3 colours. What happens for the
next ID? You could write a macro but you will still be limited to 56 colours
as that is the max number of colours in XL...
--
HTH...

Jim Thomlinson


"andiam24" wrote:

Right, and that's ok. My problem is identifying the value and multiple
occurences of the same value.

i.e. If the following IDs were in column A, I would like to shade all of the
matching occurences the same color (e.g. QC0042- green, QC0061- blue, QC0065-
red, etc.)

Day1 Day2 Day 3
Row Col A Col A Col A
1 QC0042 QC0054 QC0055
2 QC0061 QC0054 QC0055
3 QC0061 QC0054 QC0058
4 QC0061 QC0069 QC0058
5 QC0065 QC0069 QC0058
6 QC0065 QC0072 QC0058
7 QC0065 QC0072 QC0079

The day (Day 1, Day2, etc) denotes entirely new entries - where you can omit
the other columns of values- which is why they are all labeled as Col A, and
not a spreadsheet as it appears. Notice, the position is the same for the
different days so I was trying to kinda focus on that - making the position
in relation to the preceding number the color changing element. However, I
can't work it. Any assistance you can provide would be awesome.

"Jim Thomlinson" wrote:

Conditional formats are limited to 3 different formats in XL2003 or less. So
you can end up with a max of 3 different colours...
--
HTH...

Jim Thomlinson


"andiam24" wrote:

Hello,

I would like to set a conditional format to color each unique value a
different color. It will also be applied to multiple occurences of the value.
The problem is that the values are dynamic and may not always be the same
number of occurences, in the same cell, etc. I have used the formula
IF(ISNUMBER(COUNTIF($F$3:F3,F3)),ROW(),"")) to try to identify the occurences
but creating a conditional format has proven out of my league! Please help!
And thanks!!

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 count of unique values Amy Excel Discussion (Misc queries) 5 August 25th 09 05:25 PM
Excel conditional format only if all cells contain values? offdah3z Excel Worksheet Functions 4 April 29th 09 06:05 PM
format column for unique values only JohnLute Excel Worksheet Functions 2 September 13th 05 01:06 PM
Count unique values and create list based on these values vipa2000 Excel Worksheet Functions 7 August 5th 05 01:17 AM
create list of unique values from a column with repeated values? Chad Schaben Excel Worksheet Functions 1 July 8th 05 10:25 PM


All times are GMT +1. The time now is 10:07 PM.

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"