Condition formatting wit a lil twist

Soldier99

New Member
Joined
Feb 10, 2014
Messages
2
I am looking to CF based on the values in two other cells. But first I need to find the number within one column to another than format base on the third

I have figured out how to CF on column to another (=COUNTIF(C:C,RIGHT(A1,5))) which works but I need I to format based on the third cell I have stumbled here

so in a nut shell I need to find values from column C in column A and format A based on Column C (red for grd, yellow for outu, and green for serv)

I hope that makes sense oh yeah BTW I am using 2003 currently and upgrading to 2010 in about a year.

Thank you in advance


a b c d
1983-60389 00717 OUTU
1989-92345 99912 OUTU
1993-9751799603 GRD
2004-4803099131 GRD
2004-4804098664 OUTU
2004-6354698518 GRD
1983-6226598505 SERV
1993-9866498503 GRD
1989-9230098451 GRD
1989-9232298341 OUTU
1993-9834160389 GRD
92322 SERV
92345 GRD

<tbody>
</tbody>
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I don't have access to xl2003, but I remember it is different to xl2010.Try this
=AND(C1="GRD",COUNTIF(C:C,RIGHT(A1,5)) and select your formatting, then add another level and set up for SERV then again for OUTU
 
Upvote 0
Hi Soldier99,

Use below formula in conditional formatting under option "use a formula to determine which cell to format" :-

=VLOOKUP(RIGHT(A2,5)*1,$C:$D,2,0)="GRD"
and format fill as RED
do the same for Yellow and green as well with OUTU and SERV.

Regards,
DILIPandey
 
Upvote 0

Forum statistics

Threads
1,215,634
Messages
6,125,934
Members
449,275
Latest member
jacob_mcbride

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