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

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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