PC Review


Reply
Thread Tools Rate Thread

Consecutive Days (Not NETWORKDAYS)

 
 
JBarr
Guest
Posts: n/a
 
      6th Feb 2006
Hi,

I need a macro that can count consecutive days. It needs to be
adaptable to various holidays/Closed Business dates and must not count
weekends. NETWORKDAYS does not work because it counts all the days
present as if it were one transaction when it may be 1 or more
transactions. If the following dates were listed for Location A, there
would be 2 transactions as 1/16/2006 the business was closed, but for
Location B it would be 3 transactions because the business was open.
If I used NETWORKDAYS, it would return the value of 6, which is
altogether wrong.

1. 1/13/2006 (1 Location B)
2. 1/17/2006
3. 1/18/2006 (2 Location B, 1 Location A)
4. 2/1/2006
5. 2/2/2006
6. 2/3/2006 (3 Location B, 2 Location A)

The manual counting is time consuming and irritating. Can some one
please help?

 
Reply With Quote
 
 
 
 
daddylonglegs
Guest
Posts: n/a
 
      8th Feb 2006

I think that the lack of replies to your post is probably an indication
that your intent is hard to divine.

Please explain the requirement more clearly, I don't see how the
locations come in at all, how are these related to the dates - how do
you know which days the business is open?


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=509128

 
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
Adding days by using NETWORKDAYS 2007 formula tiger7ail Microsoft Excel Worksheet Functions 0 6th Jan 2011 05:29 PM
Two or more consecutive days dreamsoul620 via AccessMonster.com Microsoft Access Queries 5 23rd Jan 2007 03:41 PM
how to use networkdays returning fractions of days (4.3 days) =?Utf-8?B?Q2hyaXM=?= Microsoft Excel Worksheet Functions 0 6th Oct 2005 03:19 PM
NETWORKDAYS but counting the hours not the days... =?Utf-8?B?SmFtZXN5?= Microsoft Excel Worksheet Functions 19 2nd Jul 2004 11:35 PM
Consecutive Days Gary Thomson Microsoft Excel Worksheet Functions 4 10th Feb 2004 05:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:51 AM.