Conditional Formatting to exclude weekends and Bank Holidays

P

Paul

Hi All

I am trying to use conditional formatting to show the difference between a
due date and a forecast date. For example, if the forecast date is up to 5
days from the due date the cell is green, if is between 6 to 10 days it
turns yellow and if it is 11 days or more it turns red. How can I
conditionally format(or any other way) so Saturday & Sunday, and if possible
Bank Holidays as well, aren't figured in as days?

Any help would be appreciated

Thanks

Paul
 
B

Bob Phillips

Paul, the simplest way would be to have helper cells where 5 days, 10 days
forward was calculated using the WORKDAY function, and test these in the CF.
Unfortunately you cannot use WORKDAY in CF directly.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
B

Bob Phillips

Forgot to say, you can use WORKDAY in CF ... IF you have Excel 2007.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
B

Bob Phillips

Look at my first post then and try that method.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
B

Bob Phillips

Paul,

Give me an example of your data, and I will knock you up an example.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
P

Paul

Hi Bob

I have sent you a copy of the spreadsheet to your e-mail address as I can't
seem to post a reply with an attachment.

Regards

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top