Conditional Formatting with 3 Conditions

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
588
Office Version
  1. 365
Platform
  1. Windows
Trying to write a formula for a 3 condition conditional format.

In cell D10: If cell D10 = F10 then fill cell D10 a color. If D10 <> F10 then no color. If D10 is blank and F10 is blank then no color.

I will use this down the D column but I am only using 1 row for this example.

Appreciate you assistance.
James
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
You don't need a formula for no colour,so just use
=D10=F10
& select the format you need
 
Upvote 0
What if its blank? A blank D10 = Blank F10 and I do not want color in D10 then.
 
Upvote 0
Hi,

Try this CF formula:

=AND(D10<>"",D10=F10)
 
Upvote 0

Forum statistics

Threads
1,223,632
Messages
6,173,472
Members
452,516
Latest member
archcalx

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