PC Review


Reply
 
 
=?Utf-8?B?TUxL?=
Guest
Posts: n/a
 
      14th Aug 2007
I have 2 sets of date ranges:
1) a list of statutory holiday dates for the current year (ie boxing day,
Easter, etc)
2) a list of 52 weeks for the current year with only Saturday and Friday
dates that represent the start and end date of billing weeks (for example,
Sat Jan 6 and Friday Jan 12 for week 1, Sat Jan 13 and Fri Jan 19 for week 2
and so on).

I would like to be able to count the number of business days per week - but
in order to do this accurately I need to know which weeks have a stat
holidays so that the stat holiday will not count as a business day.

I tried using variations of vlookup, but I don't this this will work.

Any ideas?
 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      14th Aug 2007
Look into using the NETWORKDAYS function... it does exactly what you want.
It requires the Analysis ToolPak add-in to be added to your copy of Excel
(via Tools/AddIn on Excel's menu).

Rick


"MLK" <(E-Mail Removed)> wrote in message
news:045E4AF4-392C-459E-BD3D-(E-Mail Removed)...
>I have 2 sets of date ranges:
> 1) a list of statutory holiday dates for the current year (ie boxing day,
> Easter, etc)
> 2) a list of 52 weeks for the current year with only Saturday and Friday
> dates that represent the start and end date of billing weeks (for
> example,
> Sat Jan 6 and Friday Jan 12 for week 1, Sat Jan 13 and Fri Jan 19 for week
> 2
> and so on).
>
> I would like to be able to count the number of business days per week -
> but
> in order to do this accurately I need to know which weeks have a stat
> holidays so that the stat holiday will not count as a business day.
>
> I tried using variations of vlookup, but I don't this this will work.
>
> Any ideas?


 
Reply With Quote
 
=?Utf-8?B?TUxL?=
Guest
Posts: n/a
 
      14th Aug 2007
Works like a charm! Thank you very much for your help.
Mary-Lou

"Rick Rothstein (MVP - VB)" wrote:

> Look into using the NETWORKDAYS function... it does exactly what you want.
> It requires the Analysis ToolPak add-in to be added to your copy of Excel
> (via Tools/AddIn on Excel's menu).
>
> Rick
>
>
> "MLK" <(E-Mail Removed)> wrote in message
> news:045E4AF4-392C-459E-BD3D-(E-Mail Removed)...
> >I have 2 sets of date ranges:
> > 1) a list of statutory holiday dates for the current year (ie boxing day,
> > Easter, etc)
> > 2) a list of 52 weeks for the current year with only Saturday and Friday
> > dates that represent the start and end date of billing weeks (for
> > example,
> > Sat Jan 6 and Friday Jan 12 for week 1, Sat Jan 13 and Fri Jan 19 for week
> > 2
> > and so on).
> >
> > I would like to be able to count the number of business days per week -
> > but
> > in order to do this accurately I need to know which weeks have a stat
> > holidays so that the stat holiday will not count as a business day.
> >
> > I tried using variations of vlookup, but I don't this this will work.
> >
> > Any ideas?

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing Date Ranges in one Table to Date Ranges in another Table Mike C Microsoft Excel Discussion 3 22nd Dec 2009 05:38 PM
Comparing Date Ranges in one Table to Date Ranges in another Table Mike C Microsoft Excel Programming 0 21st Dec 2009 10:30 PM
Creating a visitor log based on a specific date out of date ranges AgentCopyKat Microsoft Access 7 20th Jun 2008 02:28 AM
Creating multi Column Date Ranges using Now/Date ?? =?Utf-8?B?QnJ1Y2VH?= Microsoft Access Getting Started 3 25th Mar 2005 10:13 PM
lookup a date from an array of date ranges if conditions are met nscanceran Microsoft Excel Misc 2 8th Nov 2003 03:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:26 PM.