LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default shade every other line with condition

I need to shade every other line in a spreadsheet. The only ways I
have been able to figure out how to do this is by setting conditional
formatting to shade even and odd rows. Unfortunately, the data changes
from week to week, and I need to subtotal and shade based on
conditions (OH and Sold) rather than even/odd rows. Here is what the
spreadsheet looks like:

Style ID Mat ID Color ID Size Total
8C0303 UP8 F0AEB 80 OH 0
8C0303 UP8 F0AEB 80 Sold 0
8C0303 UP8 F0AEB 80 OH 3
8C0303 UP8 F0AEB 80 Sold 0
8C0303 UP8 F0AEB 85 OH 0
8C0303 UP8 F0AEB 85 Sold 0
8C0303 UP8 F0AEB 85 OH 5
8C0303 UP8 F0AEB 85 Sold 2
8C0303 UP8 F0AEB 90 OH 0
8C0303 UP8 F0AEB 90 Sold 0
8C0303 UP8 F0AEB 95 OH 0
8C0303 UP8 F0AEB 95 Sold 0
8C0303 UP8 F0AEB OH 8
8C0303 UP8 F0AEB Sold 2


8C0303 UP8 F0GU3 70 OH 0
8C0303 UP8 F0GU3 70 Sold 0
8C0303 UP8 F0GU3 70 OH 3
8C0303 UP8 F0GU3 70 Sold 1
8C0303 UP8 F0GU3 75 OH 0
8C0303 UP8 F0GU3 75 Sold 0
8C0303 UP8 F0GU3 75 OH 4
8C0303 UP8 F0GU3 75 Sold 1
8C0303 UP8 F0GU3 80 OH 0
8C0303 UP8 F0GU3 80 Sold 0
8C0303 UP8 F0GU3 80 OH 0
8C0303 UP8 F0GU3 80 Sold 1
8C0303 UP8 F0GU3 85 OH 0
8C0303 UP8 F0GU3 85 Sold 0
8C0303 UP8 F0GU3 85 OH 0
8C0303 UP8 F0GU3 85 Sold 1
8C0303 UP8 F0GU3 90 OH 0
8C0303 UP8 F0GU3 90 Sold 0
8C0303 UP8 F0GU3 OH 7
8C0303 UP8 F0GU3 Sold 4


What would the correct formula be to plug into the Conditional
Formatting in order to shade every row that contains OH?

Thanks so much for your help!

 
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
if condition is met, shade cell [WORKS] but if value changes: Mo2 Excel Programming 2 April 17th 07 03:10 AM
How do I auto shade every other line in a form already in use mbuet New Users to Excel 5 April 5th 07 05:14 PM
IF condition is true, shade cell (more than 3 conditions) Mo2 Excel Discussion (Misc queries) 2 March 30th 07 01:44 AM
Shade under a line wildsprite Charts and Charting in Excel 1 November 3rd 06 11:07 PM
Let Excel shade every 3 line automatically BAase Excel Discussion (Misc queries) 11 May 23rd 05 03:49 AM


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