Colour cell if Due Date is less than 8 days away

rushdenx1

New Member
Joined
Oct 7, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
The enclosed file shows a list of companies in three blocks all with a 'Date Due'. What I would like is a formula which will colour the white cells in Column E when the 'Date Due' is less that 8 days from today.

Book1
ABCDE
1Monthly DD
2CompanyForDatePer MonthDate Due
3AGas & Electric11th£ 139.0020/10/22
4BCouncil Tax1st£ 223.0001/04/22
5CTV1st£ 67.5004/05/22
6DWill17th£ 5.0008/11/21
7EMusic24th£ 9.9912/11/21
8FPhone & BB26th£ 88.0026/04/23
9Yearly Bills£ 532.49
10CompanyFor Per Year Per MonthDate Due
11GWater£ 488£ 40.6701/02/22
12HHouse & Cont£ 320£ 26.6715/02/22
13ICar Insurance£ 358£ 29.8322/08/22
14JTV Licence£ 159£ 13.2501/11/21
15KCar Tax£ 490£ 40.8301/08/22
16LCar Service£ 1,000£ 83.3311/11/21
17MInternet£ 12£ 1.0010/12/21
18NDoorbell£ 25£ 2.0825/09/22
19PCycling App£ 105£ 8.7527/10/22
20Purchases£ 246.42
21CompanyForDateTo PayDate Due
22QShutters24/11/21£ 350.0024/11/21
23RWindows16/11/21£ 2,616.0016/11/21
24SCape Verde07/02/22£ 1,557.9610/11/21
25TKefalonia07/07/22£ 200.0015/12/21
26UKefalonia07/07/22£ 1,339.8814/04/22
Sheet1
Cell Formulas
RangeFormula
D9D9=SUM(D3:D8)
D11:D19D11=SUM(C11)/12
D20D20=SUM(D11:D19)
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You can use conditional formatting for that & use this formula.
Excel Formula:
=AND(E3<>"",E3<TODAY()+8)
 
Upvote 0
You can use conditional formatting for that & use this formula.
Excel Formula:
=AND(E3<>"",E3<TODAY()+8)
Many Thanks. I am a bit of a newbie to Excel so how do I get the formula into all the white cells without having to manually input the conditional formatting formula into each cell.
 
Upvote 0
Select E3 down to the last row of data, then in conditional formatting, new rule, use a formula & enter the formula I posted.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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