Conditional Formatting from current date

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am looking for a way to notify me of any date that exceeds todays date by 2 days

If at all possible I would like week days only, but not sure if this is too complicated

Many thanks
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Maybe where A3 has the date
Code:
=AND(A3-TODAY()>2,WEEKDAY(A3,2)<6)
 
Upvote 0
Hi Scott T,

Thanks for replying but it doesn't seem to work?

Thanks
 
Upvote 0
Are you sure that your date is entered as a date and not text?
One way to check is to run the ISNUMBER function against it, and see if it returns TRUE (as all dates in Excel are stored as numbers).
So check to see if this returns TRUE (change A3 to whatever cell the date you want to check it):
Code:
=ISNUMBER(A3)

If that returns TRUE, and it is still not working, please provide the date value that is not working so we can test it ourselves.
 
Upvote 0
Hi Joe4,

I run the test and it returned TRUE

I am testing with 01/11/17, 02/11/17, 03/11/17, 04/11/17, 05/11/17

Thanks
 
Last edited:
Upvote 0
I am testing with 01/11/17, 02/11/17, 03/11/17, 04/11/17, 05/11/17
Note that none of those dates are at least 2 days in the future, so none of them would be highlighted!
The first day that would be highlighted would be the 10th of November.

Note that if you want the 9th of November to be highlighted, just make a slight modification to Scott's formula:
Code:
=AND(A3-TODAY()>=2,WEEKDAY(A3,2)<6)
 
Upvote 0
I thought you wanted to test if the date was in the future but it looks like you may want to test if the date is 2 days in the past so maybe
Code:
=AND(A3-TODAY()<2,WEEKDAY(A3,2)<6)
 
Last edited:
Upvote 0
ah, what a muppet I am, I did not explain myself well enough

I was looking for the formula to highlight say 8th, 9th, 10th etc etc

Its a visual way of monitoring no responses within the current day

Many thanks Joe4
 
Upvote 0
I was looking for the formula to highlight say 8th, 9th, 10th etc etc
Why would it highlight the 8th? That is not two days in the future. If you would like to highlight all future weekdays, just use this variation:
Code:
=AND(A3>TODAY(),WEEKDAY(A3,2)<6)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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