Conditional Formatting

mattbird

Active Member
Joined
Oct 15, 2013
Messages
305
Office Version
  1. 2016
Hi,

I have set up a conditional format in cell G6 that turns the cell red if the date in the cell is greater than 20 day from that date. but I want it to only count working days Mon-Fri and not weekends ie

Referral date (cell G6) 16 Jan 18 the cell turns red after 20 days being 5 Feb 18, but this counts the weekends. without the weekends being counted it should turn red on 13 Feb 18.

Is there away of Excel doing this? If so please can someone help me.

I am currently using Excel 2010

Thanks Matt
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
PHP:
=NETWORKDAYS(G6,TODAY())>=20

Of if you have a list of public holidays...
PHP:
=NETWORKDAYS(G6,TODAY(),Holidays)>=20
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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