LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default calculating number of days belonging to each month within a given week

Hello,
I want to calculate number of days belonging to each month within a given week, e.g. if i have
week no 1 29Dec08 until 4Jan09
week no 2 5Jan09 until 11Jan09
week no 3 12Jan09 until 18Jan09
week no 4 19Jan09 until 25Jan09
week no 5 26Jan09 until 1Feb09
I would like to calculate the split of days belonging to December, January,February etc; in this case it would be
week no 1 - 4 in Dec and 3 in Jan
week no 2 - 7 in Jan
week no 3 - 7 in Jan
week no 4 - 7 in Jan
week no 5 - 6 in Jan & 1 in Feb
I've tried to use eomonth formula but even with Analysis Tool Pack it doesn't work.
thank you.

EggHeadCafe - Software Developer Portal of Choice
JavaScript DatePicker
http://www.eggheadcafe.com/tutorials...atepicker.aspx
 
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
Calculating as per the number of days in a month Suleman Peerzade[_2_] Excel Discussion (Misc queries) 2 January 15th 09 01:07 PM
Days per month for calculating storage days Bart Excel Worksheet Functions 3 January 31st 07 06:40 PM
How can I add up lookups? Finding days in a week of a month Michael at Thin Air Excel Discussion (Misc queries) 5 January 29th 06 06:55 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM
Calculating days in a month STFC Excel Discussion (Misc queries) 23 January 26th 05 05:58 PM


All times are GMT +1. The time now is 01:17 AM.

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

About Us

"It's about Microsoft Excel"