Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default WEENUM into months

Hello,
I need to change weeks into months. Like having weeks 1 through 5 be called
Jan.
and so on. What is the easiest way to do this.
Thanks,
Mike

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DKS DKS is offline
external usenet poster
 
Posts: 103
Default WEENUM into months

I would have used WEEKNUM in combination with a VLOOKUP. The VLOOKUP should
be used with a hard-coded table where you fill in the weeknumber in column 1
and the corresponding month in column 2.

Typical formula can be as follows:

=VLOOKUP(A1, A2:B13, 2, True)

where your weeknumber is in cell A1, and range A2 through B13 contain the 12
weeks that define the start of a month. This should do the trick. Of
course, since the 1st of every month does not fall on the start of a week,
you will always have a gray area at the end of each month and start of each
month. But that is the degree of precision that you have requested in your
question, thus cannot do any better.
"Cube Farmer" wrote:

Hello,
I need to change weeks into months. Like having weeks 1 through 5 be called
Jan.
and so on. What is the easiest way to do this.
Thanks,
Mike

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
CAn any one solve this problem of days months and years.its urgent plzzzzzzzzzzzz naughtyboy Excel Discussion (Misc queries) 3 August 19th 06 05:45 PM
Calculate number of years and months employed using hire date and. TryingTime Excel Worksheet Functions 1 June 29th 06 04:26 AM
Add # of months and get result last day of # months. BDP Excel Discussion (Misc queries) 2 January 25th 06 03:51 AM
months between 2 dates!!! speary Excel Discussion (Misc queries) 1 August 19th 05 03:22 PM
Why "datedif" function results sometimes negative numbers? Ambrosiy Excel Worksheet Functions 1 July 8th 05 11:29 AM


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