Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ankman
 
Posts: n/a
Default calculate month from week number


I need to be able to calculate the month from a week number entered onto
a worksheet. i.e.

week Month
1 Jan
2 Jan
3 Jan
4 Jan
5 Feb

A sumif statement will then be used to extract data from another
worksheet based on Month returned. (The months on the other worksheet
are in text format)

Can anyone help? I'm stumped!

Thanks Guys


--
ankman
------------------------------------------------------------------------
ankman's Profile: http://www.excelforum.com/member.php...o&userid=16796
View this thread: http://www.excelforum.com/showthread...hreadid=319938

  #2   Report Post  
bveara
 
Posts: n/a
Default

See the web site: http://www.pvv.org/~nsaa/ISO8601.html

They have some examples.


"ankman" wrote in message
...

I need to be able to calculate the month from a week number entered onto
a worksheet. i.e.

week Month
1 Jan
2 Jan
3 Jan
4 Jan
5 Feb

A sumif statement will then be used to extract data from another
worksheet based on Month returned. (The months on the other worksheet
are in text format)

Can anyone help? I'm stumped!

Thanks Guys


--
ankman
------------------------------------------------------------------------
ankman's Profile:

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



  #3   Report Post  
bveara
 
Posts: n/a
Default

This works too. Cell A14 has the week number. Cell B14 has the year.
Returns the date of the Monday of that week.

=DATE(B14,1,1)+((A14-1)*7)-WEEKDAY(DATE(B14,1,1)+(A14-1)*7,2)+1

-BV

"ankman" wrote in message
...

I need to be able to calculate the month from a week number entered onto
a worksheet. i.e.

week Month
1 Jan
2 Jan
3 Jan
4 Jan
5 Feb

A sumif statement will then be used to extract data from another
worksheet based on Month returned. (The months on the other worksheet
are in text format)

Can anyone help? I'm stumped!

Thanks Guys


--
ankman
------------------------------------------------------------------------
ankman's Profile:

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



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
how to get week number in month in excel ? ikin Charts and Charting in Excel 2 January 16th 05 06:54 PM
Excel: Is there a way to calculate the date as week of month? debra adams Excel Discussion (Misc queries) 2 January 3rd 05 10:39 PM
Convert week number into calendar month? WickyWick Excel Worksheet Functions 2 November 9th 04 10:01 PM
Returning the Week Number of a Specific Date on a Month arjcvg Excel Worksheet Functions 0 November 5th 04 02:21 AM
Returning the Week Number of a Specific Date on a Month arjcvg Excel Worksheet Functions 1 November 3rd 04 05:35 AM


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