Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 128
Default Conditional Formatting for alternate client refs

I have multiple rows, each with a client ref in column A (in the format:
B01234) - the data is sorted in ascending order by column A.
I would like to define some conditional formatting, so that alternate client
refs are either yellow or white - where a client ref is repeated, the rows
are to be one colour. For example, if rows 2-5 relate to client ref B01234,
I want all the rows to be yellow. If rows 6-7 relate to another client, I
want the rows to be white. Then if row 8 was yet another client, the row
should be yellow again.
Any ideas what I should enter into the conditional formatting prompt?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Conditional Formatting for alternate client refs

Select all the cells that you want colored, except the first row of
data (i.e. from row 3 and down).
FormatConditional Formatting Formula Is:

=$A3<$A2

Set the condition to yellow.

HTH
Kostis Vezerides

On Jul 25, 11:44 am, Sarah (OGI)
wrote:
I have multiple rows, each with a client ref in column A (in the format:
B01234) - the data is sorted in ascending order by column A.
I would like to define some conditional formatting, so that alternate client
refs are either yellow or white - where a client ref is repeated, the rows
are to be one colour. For example, if rows 2-5 relate to client ref B01234,
I want all the rows to be yellow. If rows 6-7 relate to another client, I
want the rows to be white. Then if row 8 was yet another client, the row
should be yellow again.
Any ideas what I should enter into the conditional formatting prompt?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Conditional Formatting for alternate client refs

I don't think this does what is required: it doesn't colour all cells for a
given client.

"vezerid" wrote:

Select all the cells that you want colored, except the first row of
data (i.e. from row 3 and down).
FormatConditional Formatting Formula Is:

=$A3<$A2

Set the condition to yellow.

HTH
Kostis Vezerides

On Jul 25, 11:44 am, Sarah (OGI)
wrote:
I have multiple rows, each with a client ref in column A (in the format:
B01234) - the data is sorted in ascending order by column A.
I would like to define some conditional formatting, so that alternate client
refs are either yellow or white - where a client ref is repeated, the rows
are to be one colour. For example, if rows 2-5 relate to client ref B01234,
I want all the rows to be yellow. If rows 6-7 relate to another client, I
want the rows to be white. Then if row 8 was yet another client, the row
should be yellow again.
Any ideas what I should enter into the conditional formatting prompt?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Conditional Formatting for alternate client refs

I had to use a helper column (in my case column C) with :

=INT(SUM(1/COUNTIF($A$2:A2,$A$2:A2)))

Enter with Ctrl+Shift+Enter and copy down column A

then set CF:

FormulaIs: =MOD($C2,2) and set to yellow

There may (will!) be a smarter way

Limited testing!

"Toppers" wrote:

I don't think this does what is required: it doesn't colour all cells for a
given client.

"vezerid" wrote:

Select all the cells that you want colored, except the first row of
data (i.e. from row 3 and down).
FormatConditional Formatting Formula Is:

=$A3<$A2

Set the condition to yellow.

HTH
Kostis Vezerides

On Jul 25, 11:44 am, Sarah (OGI)
wrote:
I have multiple rows, each with a client ref in column A (in the format:
B01234) - the data is sorted in ascending order by column A.
I would like to define some conditional formatting, so that alternate client
refs are either yellow or white - where a client ref is repeated, the rows
are to be one colour. For example, if rows 2-5 relate to client ref B01234,
I want all the rows to be yellow. If rows 6-7 relate to another client, I
want the rows to be white. Then if row 8 was yet another client, the row
should be yellow again.
Any ideas what I should enter into the conditional formatting prompt?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 128
Default Conditional Formatting for alternate client refs

Hey, that worked a treat, thank you so much!

"Toppers" wrote:

I had to use a helper column (in my case column C) with :

=INT(SUM(1/COUNTIF($A$2:A2,$A$2:A2)))

Enter with Ctrl+Shift+Enter and copy down column A

then set CF:

FormulaIs: =MOD($C2,2) and set to yellow

There may (will!) be a smarter way

Limited testing!

"Toppers" wrote:

I don't think this does what is required: it doesn't colour all cells for a
given client.

"vezerid" wrote:

Select all the cells that you want colored, except the first row of
data (i.e. from row 3 and down).
FormatConditional Formatting Formula Is:

=$A3<$A2

Set the condition to yellow.

HTH
Kostis Vezerides

On Jul 25, 11:44 am, Sarah (OGI)
wrote:
I have multiple rows, each with a client ref in column A (in the format:
B01234) - the data is sorted in ascending order by column A.
I would like to define some conditional formatting, so that alternate client
refs are either yellow or white - where a client ref is repeated, the rows
are to be one colour. For example, if rows 2-5 relate to client ref B01234,
I want all the rows to be yellow. If rows 6-7 relate to another client, I
want the rows to be white. Then if row 8 was yet another client, the row
should be yellow again.
Any ideas what I should enter into the conditional formatting prompt?



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
Extract Client Refs from pivot table into another worksheet Sarah (OGI) Excel Worksheet Functions 0 April 4th 07 01:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
How do I select a value from a table based on 2 conditional refs? Puzzled Percy Excel Worksheet Functions 6 June 15th 06 04:42 AM
Conditional formatting: alternate shading PLUS red for 0 values Smurfette Excel Discussion (Misc queries) 7 April 26th 06 06:14 AM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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