Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ken Peterson
 
Posts: n/a
Default How do I use conditional formatting to change subtotals row format

I would like to change the background color of subtotal rows in Excel to
highlight the rows. I am using the display subtoals function from the menu.
I'm sure there is a way to do it using conditional formatting, but I haven't
been able to figure it out.

Thanks for your help.
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi ken

one option is to conditionally format for values over the largest number in
your dataset ... as long as all the subtotals will be greater than that
number
given the following data
............A................B.................... ..C.
1......Month.......Region.................Sales
2......Jan............North.................50000
3......Feb...........North.................55000
4......Jan...........South...................35000
5......Jan.......... South...................40000

before you subtotal - select all your rows, from row 1
and choose format / conditional formatting
choose
formula is
type
=$C170000
select a format / okay & okay
now subtotal

Cheers
JulieD

"Ken Peterson" <Ken wrote in message
...
I would like to change the background color of subtotal rows in Excel to
highlight the rows. I am using the display subtoals function from the
menu.
I'm sure there is a way to do it using conditional formatting, but I
haven't
been able to figure it out.

Thanks for your help.



  #3   Report Post  
Ken Peterson
 
Posts: n/a
Default

Hi JulieD,

Thanks for your excellent response and for opening my eyes. I didn't use
your exact suggestion, but it gave me another idea that worked just as well.

I used the following: =(MID($A4,4,6))="Total". The first three characters in
my worksheey would always be two characters plus a space, so I know the
fourth character will always be "Total".

For the Grand Total, I used: =(MID($A4,1,5))="Grand" to apply a different
format.

Thanks again,
Ken

"JulieD" wrote:

Hi ken

one option is to conditionally format for values over the largest number in
your dataset ... as long as all the subtotals will be greater than that
number
given the following data
............A................B.................... ..C.
1......Month.......Region.................Sales
2......Jan............North.................50000
3......Feb...........North.................55000
4......Jan...........South...................35000
5......Jan.......... South...................40000

before you subtotal - select all your rows, from row 1
and choose format / conditional formatting
choose
formula is
type
=$C170000
select a format / okay & okay
now subtotal

Cheers
JulieD

"Ken Peterson" <Ken wrote in message
...
I would like to change the background color of subtotal rows in Excel to
highlight the rows. I am using the display subtoals function from the
menu.
I'm sure there is a way to do it using conditional formatting, but I
haven't
been able to figure it out.

Thanks for your help.




  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi Ken

glad you found a workable solution

Cheers
JulieD

"Ken Peterson" wrote in message
...
Hi JulieD,

Thanks for your excellent response and for opening my eyes. I didn't use
your exact suggestion, but it gave me another idea that worked just as
well.

I used the following: =(MID($A4,4,6))="Total". The first three characters
in
my worksheey would always be two characters plus a space, so I know the
fourth character will always be "Total".

For the Grand Total, I used: =(MID($A4,1,5))="Grand" to apply a different
format.

Thanks again,
Ken

"JulieD" wrote:

Hi ken

one option is to conditionally format for values over the largest number
in
your dataset ... as long as all the subtotals will be greater than that
number
given the following data
............A................B.................... ..C.
1......Month.......Region.................Sales
2......Jan............North.................50000
3......Feb...........North.................55000
4......Jan...........South...................35000
5......Jan.......... South...................40000

before you subtotal - select all your rows, from row 1
and choose format / conditional formatting
choose
formula is
type
=$C170000
select a format / okay & okay
now subtotal

Cheers
JulieD

"Ken Peterson" <Ken wrote in message
...
I would like to change the background color of subtotal rows in Excel to
highlight the rows. I am using the display subtoals function from the
menu.
I'm sure there is a way to do it using conditional formatting, but I
haven't
been able to figure it out.

Thanks for your help.






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
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
why cant i change font size when i use conditional formatting? cbwindycity Excel Discussion (Misc queries) 1 January 6th 05 10:45 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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