Formulas for conditional formatting

DarkoDeign2

Board Regular
Joined
Jun 20, 2023
Messages
76
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a file with dates and follow up status.
I would like help with the conditional formatting for the dates in column v, x, z to change based on the values W, Y and AA.

The default format of the date in column V is that the font is Bold and in red.
Below are possible combinations and the wished outcome of this.

Example 1
IF W2="NO" and AA2="ONGOING", don't change the formatting in cell V2. Cell X2 and Z2 should remain empty.

Example 2
IF W3="YES" and AA3="ONGOING", Change the format in cell V3 (regular font and in black font color).
Cell X3= bold font and font color red

Example 3
IF W4="YES", Y4="YES" and AA4="ONGOING", Change the format in cell V4 and X4 (regular font and in black font color).
Cell Z4= bold font and font color red

Example 4
IF W5="YES", Y5="YES" and AA5="Closed", Change the format in cell V5, X5 and Z5 (regular font and in black font color).

I hope you can help me with this.
:)
 

Attachments

  • Test bat.PNG
    Test bat.PNG
    25.2 KB · Views: 14

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Since example 1 does not involve any Conditional Formatting, you should only need formulas for examples 2, 3, 4.

Example 2
IF W3="YES" and AA3="ONGOING"
Formula to use:
Excel Formula:
=AND($W3="YES",$AA3="ONGOING")

Example 3
IF W4="YES", Y4="YES" and AA4="ONGOING"
Formula to use:
Excel Formula:
=AND($W4="YES",$Y4="YES",$AA4="ONGOING")

Example 4
IF W5="YES", Y5="YES" and AA5="Closed"
Formula to use:
Excel Formula:
=AND($W5="YES",$Y5="YES",$AA5="Closed")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,107
Messages
6,123,126
Members
449,097
Latest member
mlckr

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