ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   excel: How can I color code rows based on a value in a cell? (https://www.excelbanter.com/excel-discussion-misc-queries/11034-excel-how-can-i-color-code-rows-based-value-cell.html)

Parker1333

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.

Jason Morin

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.
.


Gord Dibben

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.




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com