Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Charles
 
Posts: n/a
Default Formula for a date's week number in a month (1st, 2nd, etc.)

i.e. If today is 3/10/06, it falls in the 2nd week of March. Is there a way
to calculate this in a formula? (Also, will there a be a problem where a
date like 3/1/06 falls under the week 5 of February as wells as week 1 of
March?)
  #2   Report Post  
Posted to microsoft.public.excel.misc
David McRitchie
 
Posts: n/a
Default Formula for a date's week number in a month (1st, 2nd, etc.)

Hi Charles,
It is going to depend on what day of the week you your weeks start on.
If you are in the US it starts on Sunday.

Worksheet Functions For Dates And Times
http://www.cpearson.com/excel/DateTimeWS.htm#NthDoWYear
look at the last example. It would be for the US.

Not what you are looking for, but has some similar things
Date Calculations
http://www.mvps.org/dmcritchie/excel/datecalc.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Charles" wrote in message ...
i.e. If today is 3/10/06, it falls in the 2nd week of March. Is there a way
to calculate this in a formula? (Also, will there a be a problem where a
date like 3/1/06 falls under the week 5 of February as wells as week 1 of
March?)



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
Function or formula to convert "text" month to number of month? Steve Vincent Excel Discussion (Misc queries) 5 May 15th 07 01:11 AM
Function or formula to convert "text" month to number of month? Kevin Vaughn Excel Discussion (Misc queries) 0 February 4th 06 04:45 PM
Formula for current month minus one = Quarter number in a macro. Pank Excel Discussion (Misc queries) 11 June 22nd 05 02:47 PM
Formula to count number of dates in an array Lilasviolet Excel Worksheet Functions 2 April 7th 05 07:44 PM
Returning the Week Number of a Specific Date on a Month arjcvg Excel Worksheet Functions 1 November 3rd 04 04:35 AM


All times are GMT +1. The time now is 07:19 PM.

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"