Format if date is more than 5 working days

Geek Girl 007

Board Regular
Joined
Mar 12, 2022
Messages
152
Office Version
  1. 2021
Platform
  1. Windows
1723974563930.png


I want O2 to go red if O2 is more than 5 working days.
This is the formula I used, but it didn't work :(

=NETWORKDAYS.INTL(TODAY(),O2,1)<=5
 
10/8/2024 shouldn't be red it is only 5 working days from today, you specified more than 5 working days and is a Saturday
Oh dear lord, Sunday, working from home brain, so so sorry, yes I put in the 9th and it worked.
Thank you so much!
 
Upvote 0

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.
If I got you right, you are looking for a formula with 6 working days (monday to saturday) and only sunday as weekend.

Is this working for you?

Book1
AB
1Date loggedDays
217/08/20241
305/08/202412
Sheet1
Cell Formulas
RangeFormula
B2:B3B2= NETWORKDAYS.INTL(A2,TODAY(),11)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A3Expression= NETWORKDAYS.INTL(A2,TODAY(),11) <= 5textNO
Thank you, no it was just me being to tired and not seeing what was in front of me.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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