excel: How can I color code rows based on a value in a cell?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Jexample: If the value in cell J2=P, then shade the entire row in yellow.
 
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
 
Parker

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

Format>Conditional Formatting>Formula 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top