Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Parker1333
 
Posts: n/a
Default excel: How can I color code rows based on a value in a cell?

Jexample: If the value in cell J2=P, then shade the entire row in yellow.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

1. Select row 2.
2. Go to Format Conditional Formatting. Select "Formula
Is"
3. Insert: =$J$2="P"
4. Click the "Format" button and format as desired.

HTH
Jason
Atlanta, GA

-----Original Message-----
Jexample: If the value in cell J2=P, then shade the

entire row in yellow.
.

  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Parker

Select the entire row to color. Doesn't have to be row 2.

FormatConditional FormattingFormula is: =$J2="P"

Pick a color from from the Format button.

Note the $J2 must be entered as is with the $ sign.


Gord Dibben Excel MVP

On Tue, 1 Feb 2005 13:43:02 -0800, "Parker1333"
wrote:

Jexample: If the value in cell J2=P, then shade the entire row in yellow.


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
Format cell in column B based on value in the next cell (column c) Nicole Excel Discussion (Misc queries) 7 May 18th 05 10:19 PM
Should be able to name Excel sheets based on cells in workbook callsign Blue Wolf One Five Excel Discussion (Misc queries) 2 January 27th 05 03:09 AM
how do I show a picture in excel based on cell data Wishing to Excel Excel Discussion (Misc queries) 2 January 10th 05 04:39 PM
Counting rows based on criteria in multiple cells Margaret Excel Discussion (Misc queries) 11 December 2nd 04 11:04 PM
How do I remove blank rows in Excel? m28leics Excel Discussion (Misc queries) 2 November 29th 04 11:56 PM


All times are GMT +1. The time now is 05:38 AM.

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"