Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Conditinal Format

Using Excel 2007. I have a workbook with 40,000 rows of data. Each row is
a set of data for a Bill_ID. There are several thousand Bill_ID's and the
number of rows associated with each Bill_ID varies. So, one Bill_ID may be
comprised of 6 rows, the next Bill_ID has 20 rows, etc. I'd like to
conditional format every other Bill_ID for easier identification / viewing.
Any suggestions? Thanks for your assistance.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditinal Format

What form does your Bill_IDs take? Are they simple numbers, or
mixtures of alpha and numeric? Will the rows for one Bill_ID be
consecutive?

In Excel 2003 and earlier you can only have 3 conditional formats
(plus normal format) in one cell, so you would need to "transform" the
Bill_ID to 1 of 4 values maximum. This can be done numerically if the
IDs are numbers, or via a lookup table of unique IDs if they are text
values. Post back with the answers to the questions if you need
further guidance.

Hope this helps.

Pete

On Oct 29, 4:01 pm, "Bob" wrote:
Using Excel 2007. I have a workbook with 40,000 rows of data. Each row is
a set of data for a Bill_ID. There are several thousand Bill_ID's and the
number of rows associated with each Bill_ID varies. So, one Bill_ID may be
comprised of 6 rows, the next Bill_ID has 20 rows, etc. I'd like to
conditional format every other Bill_ID for easier identification / viewing.
Any suggestions? Thanks for your assistance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Conditinal Format

The Bill_ID's are formatted as General. An example is 1579148-0003. The
rows for each Bill_ID will be consecutive.
I'm using Excel 2007.

Thanks for the assistance!


"Pete_UK" wrote in message
ups.com...
What form does your Bill_IDs take? Are they simple numbers, or
mixtures of alpha and numeric? Will the rows for one Bill_ID be
consecutive?

In Excel 2003 and earlier you can only have 3 conditional formats
(plus normal format) in one cell, so you would need to "transform" the
Bill_ID to 1 of 4 values maximum. This can be done numerically if the
IDs are numbers, or via a lookup table of unique IDs if they are text
values. Post back with the answers to the questions if you need
further guidance.

Hope this helps.

Pete

On Oct 29, 4:01 pm, "Bob" wrote:
Using Excel 2007. I have a workbook with 40,000 rows of data. Each row
is
a set of data for a Bill_ID. There are several thousand Bill_ID's and
the
number of rows associated with each Bill_ID varies. So, one Bill_ID may
be
comprised of 6 rows, the next Bill_ID has 20 rows, etc. I'd like to
conditional format every other Bill_ID for easier identification /
viewing.
Any suggestions? Thanks for your assistance.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditinal Format

I don't have Excel 2007, so some of the menu options I describe might
have changed.

First of all, you can get a unique list of Bill_IDs by highlighting
them (plus the heading - you need a header) then click Data | Filter |
Advanced Filter. In the pop-up you should click on Unique Records
only, and Copy to another location - choose a blank column (let's say
L1) for the location and then click OK - you will now have unique IDs
in column L with your header in row 1.

Then highlight your Bill_IDs again (without the header) and click on
Format | Conditional Format - in the pop-up you should select Formula
Is rather than Cell Value is, and enter this formula:

=MOD(MATCH(A2,L$2:L$10000,0),2)=0

then click on the Format button, Patterns Tab (i.e. background
colour), and choose a colour, eg bright yellow. OK your way out. I
have assumed that your IDs are in column A, starting in A2, and that
you have up to 10,000 of them in column L - adjust the formula to
suit.

You should now find that the first IDs are not coloured, the second
are, the third are not etc.

Hope this helps.

Pete

On Oct 29, 4:51 pm, "Bob" wrote:
The Bill_ID's are formatted as General. An example is 1579148-0003. The
rows for each Bill_ID will be consecutive.
I'm using Excel 2007.

Thanks for the assistance!

"Pete_UK" wrote in message

ups.com...



What form does your Bill_IDs take? Are they simple numbers, or
mixtures of alpha and numeric? Will the rows for one Bill_ID be
consecutive?


In Excel 2003 and earlier you can only have 3 conditional formats
(plus normal format) in one cell, so you would need to "transform" the
Bill_ID to 1 of 4 values maximum. This can be done numerically if the
IDs are numbers, or via a lookup table of unique IDs if they are text
values. Post back with the answers to the questions if you need
further guidance.


Hope this helps.


Pete


On Oct 29, 4:01 pm, "Bob" wrote:
Using Excel 2007. I have a workbook with 40,000 rows of data. Each row
is
a set of data for a Bill_ID. There are several thousand Bill_ID's and
the
number of rows associated with each Bill_ID varies. So, one Bill_ID may
be
comprised of 6 rows, the next Bill_ID has 20 rows, etc. I'd like to
conditional format every other Bill_ID for easier identification /
viewing.
Any suggestions? Thanks for your assistance.- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Conditinal Format

Works great, but I'd like to highlight the entire row. Tried changing it
some by inserting Row() before the Match, but couldn't get it to work.
Thanks again for all your help.


"Pete_UK" wrote in message
ups.com...
I don't have Excel 2007, so some of the menu options I describe might
have changed.

First of all, you can get a unique list of Bill_IDs by highlighting
them (plus the heading - you need a header) then click Data | Filter |
Advanced Filter. In the pop-up you should click on Unique Records
only, and Copy to another location - choose a blank column (let's say
L1) for the location and then click OK - you will now have unique IDs
in column L with your header in row 1.

Then highlight your Bill_IDs again (without the header) and click on
Format | Conditional Format - in the pop-up you should select Formula
Is rather than Cell Value is, and enter this formula:

=MOD(MATCH(A2,L$2:L$10000,0),2)=0

then click on the Format button, Patterns Tab (i.e. background
colour), and choose a colour, eg bright yellow. OK your way out. I
have assumed that your IDs are in column A, starting in A2, and that
you have up to 10,000 of them in column L - adjust the formula to
suit.

You should now find that the first IDs are not coloured, the second
are, the third are not etc.

Hope this helps.

Pete

On Oct 29, 4:51 pm, "Bob" wrote:
The Bill_ID's are formatted as General. An example is 1579148-0003. The
rows for each Bill_ID will be consecutive.
I'm using Excel 2007.

Thanks for the assistance!

"Pete_UK" wrote in message

ups.com...



What form does your Bill_IDs take? Are they simple numbers, or
mixtures of alpha and numeric? Will the rows for one Bill_ID be
consecutive?


In Excel 2003 and earlier you can only have 3 conditional formats
(plus normal format) in one cell, so you would need to "transform" the
Bill_ID to 1 of 4 values maximum. This can be done numerically if the
IDs are numbers, or via a lookup table of unique IDs if they are text
values. Post back with the answers to the questions if you need
further guidance.


Hope this helps.


Pete


On Oct 29, 4:01 pm, "Bob" wrote:
Using Excel 2007. I have a workbook with 40,000 rows of data. Each
row
is
a set of data for a Bill_ID. There are several thousand Bill_ID's and
the
number of rows associated with each Bill_ID varies. So, one Bill_ID
may
be
comprised of 6 rows, the next Bill_ID has 20 rows, etc. I'd like to
conditional format every other Bill_ID for easier identification /
viewing.
Any suggestions? Thanks for your assistance.- Hide quoted text -


- Show quoted text -







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditinal Format

Glad it works - in your first post you said you only wanted the IDs to
stand out.

Select A2 and change the formula to this:

=MOD(MATCH($A2,$L$2:$L$10000,0),2)=0

Then you can use the Format Painter to apply that format to other
cells (across or down), or you could select all the cells in advance
and then use this formula.

Hope this helps.

Pete

On Oct 29, 6:18 pm, "Bob" wrote:
Works great, but I'd like to highlight the entire row. Tried changing it
some by inserting Row() before the Match, but couldn't get it to work.
Thanks again for all your help.

"Pete_UK" wrote in message

ups.com...



I don't have Excel 2007, so some of the menu options I describe might
have changed.


First of all, you can get a unique list of Bill_IDs by highlighting
them (plus the heading - you need a header) then click Data | Filter |
Advanced Filter. In the pop-up you should click on Unique Records
only, and Copy to another location - choose a blank column (let's say
L1) for the location and then click OK - you will now have unique IDs
in column L with your header in row 1.


Then highlight your Bill_IDs again (without the header) and click on
Format | Conditional Format - in the pop-up you should select Formula
Is rather than Cell Value is, and enter this formula:


=MOD(MATCH(A2,L$2:L$10000,0),2)=0


then click on the Format button, Patterns Tab (i.e. background
colour), and choose a colour, eg bright yellow. OK your way out. I
have assumed that your IDs are in column A, starting in A2, and that
you have up to 10,000 of them in column L - adjust the formula to
suit.


You should now find that the first IDs are not coloured, the second
are, the third are not etc.


Hope this helps.


Pete


On Oct 29, 4:51 pm, "Bob" wrote:
The Bill_ID's are formatted as General. An example is 1579148-0003. The
rows for each Bill_ID will be consecutive.
I'm using Excel 2007.


Thanks for the assistance!


"Pete_UK" wrote in message


roups.com...


What form does your Bill_IDs take? Are they simple numbers, or
mixtures of alpha and numeric? Will the rows for one Bill_ID be
consecutive?


In Excel 2003 and earlier you can only have 3 conditional formats
(plus normal format) in one cell, so you would need to "transform" the
Bill_ID to 1 of 4 values maximum. This can be done numerically if the
IDs are numbers, or via a lookup table of unique IDs if they are text
values. Post back with the answers to the questions if you need
further guidance.


Hope this helps.


Pete


On Oct 29, 4:01 pm, "Bob" wrote:
Using Excel 2007. I have a workbook with 40,000 rows of data. Each
row
is
a set of data for a Bill_ID. There are several thousand Bill_ID's and
the
number of rows associated with each Bill_ID varies. So, one Bill_ID
may
be
comprised of 6 rows, the next Bill_ID has 20 rows, etc. I'd like to
conditional format every other Bill_ID for easier identification /
viewing.
Any suggestions? Thanks for your assistance.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Conditinal Format

All is working as desired! Thanks again for your help.


"Pete_UK" wrote in message
ups.com...
Glad it works - in your first post you said you only wanted the IDs to
stand out.

Select A2 and change the formula to this:

=MOD(MATCH($A2,$L$2:$L$10000,0),2)=0

Then you can use the Format Painter to apply that format to other
cells (across or down), or you could select all the cells in advance
and then use this formula.

Hope this helps.

Pete

On Oct 29, 6:18 pm, "Bob" wrote:
Works great, but I'd like to highlight the entire row. Tried changing it
some by inserting Row() before the Match, but couldn't get it to work.
Thanks again for all your help.

"Pete_UK" wrote in message

ups.com...



I don't have Excel 2007, so some of the menu options I describe might
have changed.


First of all, you can get a unique list of Bill_IDs by highlighting
them (plus the heading - you need a header) then click Data | Filter |
Advanced Filter. In the pop-up you should click on Unique Records
only, and Copy to another location - choose a blank column (let's say
L1) for the location and then click OK - you will now have unique IDs
in column L with your header in row 1.


Then highlight your Bill_IDs again (without the header) and click on
Format | Conditional Format - in the pop-up you should select Formula
Is rather than Cell Value is, and enter this formula:


=MOD(MATCH(A2,L$2:L$10000,0),2)=0


then click on the Format button, Patterns Tab (i.e. background
colour), and choose a colour, eg bright yellow. OK your way out. I
have assumed that your IDs are in column A, starting in A2, and that
you have up to 10,000 of them in column L - adjust the formula to
suit.


You should now find that the first IDs are not coloured, the second
are, the third are not etc.


Hope this helps.


Pete


On Oct 29, 4:51 pm, "Bob" wrote:
The Bill_ID's are formatted as General. An example is 1579148-0003.
The
rows for each Bill_ID will be consecutive.
I'm using Excel 2007.


Thanks for the assistance!


"Pete_UK" wrote in message


roups.com...


What form does your Bill_IDs take? Are they simple numbers, or
mixtures of alpha and numeric? Will the rows for one Bill_ID be
consecutive?


In Excel 2003 and earlier you can only have 3 conditional formats
(plus normal format) in one cell, so you would need to "transform"
the
Bill_ID to 1 of 4 values maximum. This can be done numerically if
the
IDs are numbers, or via a lookup table of unique IDs if they are
text
values. Post back with the answers to the questions if you need
further guidance.


Hope this helps.


Pete


On Oct 29, 4:01 pm, "Bob" wrote:
Using Excel 2007. I have a workbook with 40,000 rows of data.
Each
row
is
a set of data for a Bill_ID. There are several thousand Bill_ID's
and
the
number of rows associated with each Bill_ID varies. So, one Bill_ID
may
be
comprised of 6 rows, the next Bill_ID has 20 rows, etc. I'd like to
conditional format every other Bill_ID for easier identification /
viewing.
Any suggestions? Thanks for your assistance.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -





  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditinal Format

You're welcome, Bob - thanks for the speedy feedback.

Pete

On Oct 29, 7:27 pm, "Bob" wrote:
All is working as desired! Thanks again for your help.

"Pete_UK" wrote in message

ups.com...



Glad it works - in your first post you said you only wanted the IDs to
stand out.


Select A2 and change the formula to this:


=MOD(MATCH($A2,$L$2:$L$10000,0),2)=0


Then you can use the Format Painter to apply that format to other
cells (across or down), or you could select all the cells in advance
and then use this formula.


Hope this helps.


Pete


On Oct 29, 6:18 pm, "Bob" wrote:
Works great, but I'd like to highlight the entire row. Tried changing it
some by inserting Row() before the Match, but couldn't get it to work.
Thanks again for all your help.


"Pete_UK" wrote in message


roups.com...


I don't have Excel 2007, so some of the menu options I describe might
have changed.


First of all, you can get a unique list of Bill_IDs by highlighting
them (plus the heading - you need a header) then click Data | Filter |
Advanced Filter. In the pop-up you should click on Unique Records
only, and Copy to another location - choose a blank column (let's say
L1) for the location and then click OK - you will now have unique IDs
in column L with your header in row 1.


Then highlight your Bill_IDs again (without the header) and click on
Format | Conditional Format - in the pop-up you should select Formula
Is rather than Cell Value is, and enter this formula:


=MOD(MATCH(A2,L$2:L$10000,0),2)=0


then click on the Format button, Patterns Tab (i.e. background
colour), and choose a colour, eg bright yellow. OK your way out. I
have assumed that your IDs are in column A, starting in A2, and that
you have up to 10,000 of them in column L - adjust the formula to
suit.


You should now find that the first IDs are not coloured, the second
are, the third are not etc.


Hope this helps.


Pete


On Oct 29, 4:51 pm, "Bob" wrote:
The Bill_ID's are formatted as General. An example is 1579148-0003.
The
rows for each Bill_ID will be consecutive.
I'm using Excel 2007.


Thanks for the assistance!


"Pete_UK" wrote in message


roups.com...


What form does your Bill_IDs take? Are they simple numbers, or
mixtures of alpha and numeric? Will the rows for one Bill_ID be
consecutive?


In Excel 2003 and earlier you can only have 3 conditional formats
(plus normal format) in one cell, so you would need to "transform"
the
Bill_ID to 1 of 4 values maximum. This can be done numerically if
the
IDs are numbers, or via a lookup table of unique IDs if they are
text
values. Post back with the answers to the questions if you need
further guidance.


Hope this helps.


Pete


On Oct 29, 4:01 pm, "Bob" wrote:
Using Excel 2007. I have a workbook with 40,000 rows of data.
Each
row
is
a set of data for a Bill_ID. There are several thousand Bill_ID's
and
the
number of rows associated with each Bill_ID varies. So, one Bill_ID
may
be
comprised of 6 rows, the next Bill_ID has 20 rows, etc. I'd like to
conditional format every other Bill_ID for easier identification /
viewing.
Any suggestions? Thanks for your assistance.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



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
Conditinal Formatting Joe K. Excel Discussion (Misc queries) 0 October 22nd 07 02:51 AM
conditinal format that gives particular shape and color in cell formatting Excel Discussion (Misc queries) 1 January 30th 07 11:33 PM
Conditinal Formating question carrera Excel Discussion (Misc queries) 8 December 1st 06 11:24 PM
Conditinal formatting - AND function MariusSZ Excel Worksheet Functions 2 November 22nd 06 03:59 PM
conditinal If statement with 3 outputs Arvi Laanemets Excel Worksheet Functions 5 November 6th 06 06:44 PM


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