# Conditional Formatting

#### Blom456

##### New Member
How would I construct the formula to apply a conditional formatting to highlight a cell (red or green) in a range by matching dates in row 2 (funds added/ship date to date in col D-I)?

#### Attachments

• Untitled.png
28.4 KB · Views: 4

### Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

#### etaf

##### Well-known Member
select the range C3:G5
then use a conditional formatting formula
for red
=\$A3=C\$2

then a 2nd Rule for Green
=\$B3=C\$2

Book1
ABCDEFG
1
3Mar-21Jun-21
4May-21Aug-21
5Jun-21Aug-21
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C3:G5Expression=\$B3=C\$2textNO
C3:G5Expression=\$A3=C\$2textNO

Replies
3
Views
58
Replies
8
Views
364
Replies
3
Views
100
Replies
2
Views
56
Replies
3
Views
99

1,129,840
Messages
5,638,666
Members
417,041
Latest member
Molo

### 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.

### Which adblocker are you using?

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

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