Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Color Formatting

Excel97
If any cell in column A has a "X" typed into it, how can I highlite in
Yellow the five adjacent cells in that row?

Thanks, Rick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Color Formatting

Hi Rick,

Rick Brown wrote:
If any cell in column A has a "X" typed into it, how can I highlite in
Yellow the five adjacent cells in that row?



You can do this with Conditional Formatting:

1) select your range to be formatted (in this case, let's say B1:F9)
2) select Format | Conditional Formatting
3) select Formula Is from the dropdown
4) type =$A1="X" in the textbox
5) click the Format button and set the pattern to yellow
6) click OK

This is dynamic, so if you type a X into any cell in A1:A9, the 5 cells to
the right of that cell will be highlighted in yellow.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]

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
Color formatting Spancek Excel Worksheet Functions 1 November 21st 07 01:55 PM
Conditional Formatting on Color Excel Learner Excel Worksheet Functions 4 March 11th 07 05:13 PM
Color Formatting Todd Nelson Excel Discussion (Misc queries) 8 April 3rd 06 10:37 PM
Conditional color formatting entries have wild color. John Geyer Excel Discussion (Misc queries) 0 February 24th 06 06:11 PM
Formatting Color into cells HR Manager Excel Discussion (Misc queries) 2 February 9th 05 06:41 AM


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