conditional text colors

P

Paul B

I am using a spreadsheet to enter a letter (B, P, or S) followed by a date.
The B,P, or S stand for Backlog, Posted, or Sent. I would like to set up a
conditional formula to test for the leading letter to be "B". If the leading
letter is "B", I would like to have the spreadsheet automatically change the
text in that cell to RED. If the text changes to any other letter, I would
like the text to change back to BLACK. Is there a way to do this?

Thanks,
 
K

Kevin B

Select the cells you want to format and then click FORMAT in the menu and
select CONDITIONAL FORMAT. Under CONDITION 1 change CELL IS to FORMULA IS
and in the formula field to the right enter the following formula, changing
cell A1 to the first cell in your selection range:

=LEFT(A1,1)="B"

Click the FORMAT command button, if necessary click the FONT tab, drop down
the color selections in the COLOR combo box and select the color of your
choice.

Click OK twice to return to the worksheet.
 

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

Top