Help with CF

Spraggs

Well-known Member
Joined
Jan 19, 2007
Messages
704
Good morning all,
I'm using Vista & Excel 2007

I want to enter a Conditional format that will...
A. If C2= "" then no fill
B. If C2=Y and Q2="Pass" then format green fill.
C. Any other combination, then fill red.

This may also be used by users with excel 97-2003.

Cheers Jase
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Good morning all,
I'm using Vista & Excel 2007

I want to enter a Conditional format that will...
A. If C2= "" then no fill
B. If C2=Y and Q2="Pass" then format green fill.
C. Any other combination, then fill red.

This may also be used by users with excel 97-2003.

Cheers Jase
Condition 1 (Green)

=AND($C2="Y",$Q2="Pass")

Condition 2 (Red)

=AND($C2<>"",$C2<>"Y")
 
Upvote 0
Good morning all,
I'm using Vista & Excel 2007

I want to enter a Conditional format that will...
A. If C2= "" then no fill
B. If C2=Y and Q2="Pass" then format green fill.
C. Any other combination, then fill red.

This may also be used by users with excel 97-2003.

Cheers Jase

2 conditional formatting needed:

1st: =if(and(C2="Y",Q2="Pass"),true,false) - make formatting "green fill"
2nd: =if(not(C2=""),true,false) - make formatting "red fill"
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,348
Members
452,907
Latest member
Roland Deschain

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