Conditional formatting

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

Guest

Is it possible to conditional format for specific terms within a cell.

e.g. the addition a letter or letters to a number will change the colour of
the cell.

1A = Red
10B = Yellow
100AB = orange.
 
Highlight your range
Conditional Formatting
Condition 1: =A1="1A" (Format as red)
Condition 2: =A1="10B" (Format as Yellow)
Condition 3: =A1="100AB" (Fomat as Orange)
 
Is it just the letter that determines the colour, e.g. any cell ending "AB"
should be orange?

If so use these conditions

1 =RIGHT(A1,2)="AB"
orange

2 =RIGHT(A1)="B"
yellow

3 =RIGHT(A1)="A"
red
 

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