Conditional formatting for progressive values

dlvgolf

New Member
Joined
Dec 16, 2004
Messages
19
I'd like to conditonally format a cell green if the value is:
G1, G2, G3, etc

and
I'd like to conditionally format the same cell blue if the value is:
B1, B2, B3, etc.

Thanks for your help.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Select A1 or whatever cell

Format --> conditional formatting

Condition 1: Formula is: =ISNUMBER(MATCH(A1,G1:G100,0)) apply green format

Similar approach for blue in condition 2
 
Upvote 0
Thanks for your feedback.
Just so I'm clear, there is no change in the formula for the blue pattern, just the change in the pattern?
 
Upvote 0
Right. You're matching the second criterion against a different list, so it would just be
=ISNUMBER(MATCH(A1,B1:B100,0))
 
Upvote 0
I must be doing something wrong.
I'm in cell AI5 and have the following conditional formatting set:

Condition 1

Formula is =ISNUMBER(MATCH(AI5,G1:G100,0))
(formatted to green)

Condition 2

=ISNUMBER(MATCH(AI5,G1:G100,0))
(formatted to blue)

Cell value is B2

No formatting showing up.

More help would be appreciated. Thanks.
 
Upvote 0
Per my previous post, your condition 2 shouldn't have G's in the range, it should have B's.

I think we had a failure to communicate. By *pattern*, I thought you meant in the formula. I think you meant in the color scheme. Either way, that change should fix it.
 
Upvote 0
My apologies... that was a typo, the 2nd condition is set to B

I've tried changing the cell value From B1 to C1 and no change.
 
Upvote 0

Forum statistics

Threads
1,214,423
Messages
6,119,398
Members
448,892
Latest member
amjad24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top