Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Conditional Formatting Across Multiple Cells

I have data file that I want to conditional format Red/Green fill based on =
conditional on a single row of data. In Excel 2003 it was fairly simple to
lock a row but not a column and by selecting all the cells to format it would
change the column relative to the cell. Just having an issue transitioning
to conditional formatting in 2007.


Sample Data
a b c d
1 goal 10 245 125
2 day1 8 200 76
3 day2 8 250 125
4 day3 15 250 130
5 day4 15 300 150
6 day5 0 100 0
7 Avg 9 220 96

Cells Rows 2 - 7 should be conditional on Row 1 value in the same column
Desired rows to be Red - b4,b5,c3,c4,c5,d3,d4,d5
all others should be Green

I actually have about 500 rows that I want conditional formatted on row 1 so
doing this with a block of cells selected is desired.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 181
Default Conditional Formatting Across Multiple Cells

Got it!
First the green fill. Can't you fill those a nice shade of green by default
rather than format?
The red thing now. It's really simple but had me going for a while.
In B2
Select Conditional formatting < new rule < use formula . . < in format
values etc input
=b2=b$1
format < fill red < ok ok etc

You can now use format painter to extend the formatting to the rest of your
range.


--
Russell Dawson
Excel Student

Please hit "Yes" if this post was helpful.


"stickandrock" wrote:

I have data file that I want to conditional format Red/Green fill based on =
conditional on a single row of data. In Excel 2003 it was fairly simple to
lock a row but not a column and by selecting all the cells to format it would
change the column relative to the cell. Just having an issue transitioning
to conditional formatting in 2007.


Sample Data
a b c d
1 goal 10 245 125
2 day1 8 200 76
3 day2 8 250 125
4 day3 15 250 130
5 day4 15 300 150
6 day5 0 100 0
7 Avg 9 220 96

Cells Rows 2 - 7 should be conditional on Row 1 value in the same column
Desired rows to be Red - b4,b5,c3,c4,c5,d3,d4,d5
all others should be Green

I actually have about 500 rows that I want conditional formatted on row 1 so
doing this with a block of cells selected is desired.

Thanks

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
Conditional Formatting of Multiple Cells joesw Excel Discussion (Misc queries) 1 September 25th 09 08:52 PM
Conditional Formatting for multiple cells Budget Programmer Excel Worksheet Functions 1 August 1st 09 02:37 PM
multiple cells conditional formatting paula k Excel Discussion (Misc queries) 3 June 20th 07 03:02 PM
conditional formatting to multiple cells TC Excel Worksheet Functions 6 January 7th 06 11:41 PM
Conditional Formatting Multiple cells based on 2 cells Louis Markowski Excel Worksheet Functions 2 June 1st 05 05:26 PM


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