ExcelRoy

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

I am looking to use CF to show how many working days have passed from TODAY

RED - 3 or more
ORANGE - 2
YELLOW - 1
GREEN - TODAY

Any help appreciated

Thanks
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi,

Yep I'd use NETWORKDAYS and make 4 rules, as TODAY gets included and returns 1 in the NETWORKDAYS formula if you compare two of the same dates, you want to use
=1 (Green)
=2 (Yellow)
=3 (Orange)
> 3 (Red)

E.g.
=NETWORKDAYS($A$1,TODAY())=1 --> Format with a green fill
=NETWORKDAYS($A$1,TODAY())=2 --> Format with a yellow fill
=NETWORKDAYS($A$1,TODAY())=3 --> Format with a orange fill
=NETWORKDAYS($A$1,TODAY())>3 --> Format with a red fill

NOTE: this will leave the cell red if nothing is entered, to bypass this for the red fill CF rule use this formula instead if you don't want to see a red cell:

=AND(NETWORKDAYS($A$1,TODAY())>3,$A$1<>"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,046
Members
449,063
Latest member
ak94

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