Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Can Excel automatically shade a subtotal row?

Have you looked into Conditional Formatting ?
"Slickwillie" wrote in message
...
After creating subtotals, I would like excel to automatically hightlight
the
subtotal row in a different cell shading. Is this possible? If yes, How?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Can Excel automatically shade a subtotal row?

After you applied data|subtotals, you'll see Total (or Count or Average or...)
in the field that you subtotaled by.

In my test data, I subtotaled using Sum, so I saw Total in that column (and in
my test, I used Column A).

Then I selected my range (all the subtotal range is ok) and did
Format|Conditional formatting

Then I used:
Formula is:
=COUNTIF($A2,"*total*")0
(My active cell was in Row 2 and column A held that "xxxxx Total" info.)

And gave it a nice format.



Slickwillie wrote:

Yes, I experimented with Conditional formation but could not figure out a way
to automatically shade the entire row based on a formula or cell content.

I did read a post in here that helped. After creating the subtotal I clicked
on the "2" in the upper left corner to select just the Subtotal rows. Then
clicked EditGoTo can checked "visible only" after that I just clicked the
shading button on the toolbar. It's not automated but much closer than I was
before.
Thanks anyway

"Corey" wrote:

Have you looked into Conditional Formatting ?
"Slickwillie" wrote in message
...
After creating subtotals, I would like excel to automatically hightlight
the
subtotal row in a different cell shading. Is this possible? If yes, How?





--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 422
Default Can Excel automatically shade a subtotal row?

In a similar fashion as Dave - I did the usual Sub-total "thing"
A B C D E
1 Order PRDate Dept PhanSeg CoShare
2 100 3062004 41701234 00 123.00
3 41701234 Total 123.00 << Created By S/T
4 50 3062004 41701345 00 321.00
5 60 3062004 41701345 02 843.00
6 150 3062004 41701345 01 543.00
7 41701345 Total 1,707.00 << Created By S/T
8 160 3062004 41701500 00 347.00
9 41701500 Total 347.00 << Created By S/T

I then Clicked on the Row Header of Row 2 - then Format, CF, FormulaIs
and entered:

=IF(ISNUMBER(FIND("Total",$C2)),TRUE)
Chose a pattern (color).
OK, out

Then again selected Row Header of Row 2 - Clicked on the Toolbar Icon
Paint-Brush - Clicked on Row Header 3 and drug down to final row.

Only my "Total" rows were painted !!

Good Luck,

Jim May


" wrote in message
:

After you applied data|subtotals, you'll see Total (or Count or Average or...)
in the field that you subtotaled by.

In my test data, I subtotaled using Sum, so I saw Total in that column (and in
my test, I used Column A).

Then I selected my range (all the subtotal range is ok) and did
Format|Conditional formatting

Then I used:
Formula is:
=COUNTIF($A2,"*total*")0
(My active cell was in Row 2 and column A held that "xxxxx Total" info.)

And gave it a nice format.



Slickwillie wrote:

Yes, I experimented with Conditional formation but could not figure out a way
to automatically shade the entire row based on a formula or cell content.

I did read a post in here that helped. After creating the subtotal I clicked
on the "2" in the upper left corner to select just the Subtotal rows. Then
clicked EditGoTo can checked "visible only" after that I just clicked the
shading button on the toolbar. It's not automated but much closer than I was
before.
Thanks anyway

"Corey" wrote:

Have you looked into Conditional Formatting ?
"Slickwillie" wrote in message
...
After creating subtotals, I would like excel to automatically hightlight
the
subtotal row in a different cell shading. Is this possible? If yes, How?




--

Dave Peterson


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
how do i shade all identical cells automatically eve Excel Worksheet Functions 4 May 4th 07 08:50 PM
In Excel-shade the cell automatically when data is entered Sandra Excel Discussion (Misc queries) 1 July 7th 06 02:16 PM
Let Excel shade every 3 line automatically BAase Excel Discussion (Misc queries) 11 May 23rd 05 03:49 AM
How can I shade every other row in Spreadsheet automatically? UABCSA Excel Discussion (Misc queries) 2 May 9th 05 04:51 PM
How do I automatically shade cells depending on data entered? Jim Johnson Excel Worksheet Functions 6 October 29th 04 07:01 PM


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