CF Formula with dates

ExcelRoy

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

I am trying to modify the following formula to have the CF show when the date in M13 is within 10 working days of (Today)


=AND(LEN($M13),TODAY()+3=$M13)

Any help appreciated

Thanks
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
when the date in M13 is within 10 working days of (Today)
Is that 10 days BEFORE or AFTER today?

If either of those two, that AND clause would look something like this:
Code:
ABS(WORKDAY($M13,10)-TODAY())) < 10
If you are only going one way, then you may be able to use NETWORKDAY.

Have a look at those functions:
https://support.office.com/en-ie/article/workday-function-f764a5b7-05fc-4494-9486-60d494efbf33
https://support.office.com/en-us/article/networkdays-function-48e717bf-a7a3-495f-969e-5005e3eb18e7
 
Upvote 0
Perfect thanks all

I went with JoMoe's solution

many thanks
 
Upvote 0
I went with JoMoe's solution
Note that just does 10 straight days.
I thought you said working days, which would imply you do not want weekends.
If that really is the case, you are going to need to use a solution with either the WORKDAY or NETWORKDAYS function.
 
Upvote 0

Forum statistics

Threads
1,223,577
Messages
6,173,163
Members
452,503
Latest member
AM74

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