Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Smile counting weeks in current month.

I am looking for a formula that will count the number of weeks (the start of which is sunday) in a month. Im hoping it will come out at 4, 4.5, or 5 etc... depending on the month. for example, say i spend $100 dollars on a cell phone bill per month. but i want to find out how much to set aside per week. I want to divide $100 by the number of weeks in the current month.
this formula counts the number of days:

=DAY(DATE(YEAR(TODAY()),MONTH(TODAY())+1,0))
or
=DAY(EOMONTH(TODAY(),0))

can I do this same thing with weeks? please help... ty
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,045
Default counting weeks in current month.

On Mon, 19 Mar 2012 05:44:01 +0000, Benjamin Fleming wrote:


I am looking for a formula that will count the number of weeks (the
start of which is sunday) in a month. Im hoping it will come out at 4,
4.5, or 5 etc... depending on the month. for example, say i spend $100
dollars on a cell phone bill per month. but i want to find out how much
to set aside per week. I want to divide $100 by the number of weeks in
the current month.
this formula counts the number of days:

=DAY(DATE(YEAR(TODAY()),MONTH(TODAY())+1,0))
or
=DAY(EOMONTH(TODAY(),0))

can I do this same thing with weeks? please help... ty


You seem to want fractional weeks, so just divide the number of days by seven. The starting day of the week is irrelevant.

If the starting day of the month is not the first, for billing purposes, you will have to tell us when it starts and ends.
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
weeks in a month rk0909 Excel Discussion (Misc queries) 1 January 19th 10 04:44 AM
current week, current month, current year joemeshuggah Excel Programming 1 October 14th 08 06:44 PM
How do I count the number of even weeks in the current month. dd Excel Worksheet Functions 6 February 22nd 07 07:29 AM
Number of weeks past in current qtr AD108 Excel Worksheet Functions 2 December 4th 06 01:17 PM
copy worksheet from previous month and rename to current month Dan E. Excel Programming 4 December 8th 05 09:40 PM


All times are GMT +1. The time now is 06:28 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"