#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Scheduling


Probably for you this is very easy, I am trying to get how many
saturdays and
sundays are between 2 dates, this using a single worksheet in excel. In
cell A1
provide the start date, in cell B1 provide finish date, and in cell C1
get how
many saturdays and sundays there are.

Would you mind help me in this trouble.

Best Regards !!



--
jose.rodriguez
------------------------------------------------------------------------
jose.rodriguez's Profile: http://www.excelforum.com/member.php...o&userid=33339
View this thread: http://www.excelforum.com/showthread...hreadid=531692

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Scheduling

=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)))=6))

where a1 and B1 hold the start and end dates

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jose.rodriguez"
<jose.rodriguez.262j1b_1144705804.6634@excelforu m-nospam.com wrote in
message news:jose.rodriguez.262j1b_1144705804.6634@excelfo rum-nospam.com...

Probably for you this is very easy, I am trying to get how many
saturdays and
sundays are between 2 dates, this using a single worksheet in excel. In
cell A1
provide the start date, in cell B1 provide finish date, and in cell C1
get how
many saturdays and sundays there are.

Would you mind help me in this trouble.

Best Regards !!



--
jose.rodriguez
------------------------------------------------------------------------
jose.rodriguez's Profile:

http://www.excelforum.com/member.php...o&userid=33339
View this thread: http://www.excelforum.com/showthread...hreadid=531692



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Scheduling

Sorry, that should be

=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)))={1,7}))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jose.rodriguez"
<jose.rodriguez.262j1b_1144705804.6634@excelforu m-nospam.com wrote in
message news:jose.rodriguez.262j1b_1144705804.6634@excelfo rum-nospam.com...

Probably for you this is very easy, I am trying to get how many
saturdays and
sundays are between 2 dates, this using a single worksheet in excel. In
cell A1
provide the start date, in cell B1 provide finish date, and in cell C1
get how
many saturdays and sundays there are.

Would you mind help me in this trouble.

Best Regards !!



--
jose.rodriguez
------------------------------------------------------------------------
jose.rodriguez's Profile:

http://www.excelforum.com/member.php...o&userid=33339
View this thread: http://www.excelforum.com/showthread...hreadid=531692



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduling Matt Excel Discussion (Misc queries) 0 May 13th 10 05:34 AM
scheduling ebsbookie Excel Worksheet Functions 0 July 7th 09 08:31 PM
Scheduling... Maxime Maugeais Excel Discussion (Misc queries) 3 June 20th 07 05:21 AM
scheduling mittymun Excel Worksheet Functions 8 January 30th 07 02:43 AM
Scheduling Adam R via OfficeKB.com Excel Discussion (Misc queries) 1 July 15th 05 10:30 PM


All times are GMT +1. The time now is 10:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"