Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Convert WEEKNUM(date;2) to text "Monday 25th - Sunday 31st Oct"

How can I get text string on basis of weeknumber:
In cell A1 I have the number of a week (WEEKNUM(A1;2)). How can I get in B1
a text string telling me the week that date falls into (for example "Monday
25th - Sunday 31st October") using the value of the weeknumber in A1?

This would be WEEKNUM and not ISO week number as my weeks always end on a
Sunday.

Cany anyone help?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Convert WEEKNUM(date;2) to text "Monday 25th - Sunday 31st Oct"

=TEXT(A2-WEEKDAY(A2,2)+1,"dddd d - ")&TEXT(A2-WEEKDAY(A2,2)+7,"dddd d
mmmm")

--
__________________________________
HTH

Bob

"Orcababe" wrote in message
...
How can I get text string on basis of weeknumber:
In cell A1 I have the number of a week (WEEKNUM(A1;2)). How can I get in
B1
a text string telling me the week that date falls into (for example
"Monday
25th - Sunday 31st October") using the value of the weeknumber in A1?

This would be WEEKNUM and not ISO week number as my weeks always end on a
Sunday.

Cany anyone help?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Convert WEEKNUM(date;2) to text "Monday 25th - Sunday 31st Oct"

=TEXT(DATE(2009,1,1)+WEEKDAY(DATE(2009,1,1),2)+(A1-1)*7-7,"dddd dd mmmm")&" -
"&TEXT(DATE(2009,1,1)+WEEKDAY(DATE(2009,1,1),2)+(A 1-1)*7-1,"dddd dd mmmm")
Regards,
Stefi

€˛Orcababe€¯ ezt Ć*rta:

How can I get text string on basis of weeknumber:
In cell A1 I have the number of a week (WEEKNUM(A1;2)). How can I get in B1
a text string telling me the week that date falls into (for example "Monday
25th - Sunday 31st October") using the value of the weeknumber in A1?

This would be WEEKNUM and not ISO week number as my weeks always end on a
Sunday.

Cany anyone help?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Convert WEEKNUM(date;2) to text "Monday 25th - Sunday 31st Oct"

=TEXT(DATE(YEAR(TODAY()),1,1)-WEEKDAY(DATE(YEAR(TODAY()),1,1),2)+1+(A1*7),"DDDD
dd -
")&TEXT(DATE(YEAR(TODAY()),1,1)-WEEKDAY(DATE(YEAR(TODAY()),1,1),2)+7+(A1*7),"DDDD dd MMM")

"Orcababe" wrote:

How can I get text string on basis of weeknumber:
In cell A1 I have the number of a week (WEEKNUM(A1;2)). How can I get in B1
a text string telling me the week that date falls into (for example "Monday
25th - Sunday 31st October") using the value of the weeknumber in A1?

This would be WEEKNUM and not ISO week number as my weeks always end on a
Sunday.

Cany anyone help?

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 i convert "100" to "hundred"( number to text) in excel-2007 mohanraj Excel Worksheet Functions 1 May 11th 08 09:07 PM
function to return day in the form "Monday", "Tuesday" etc given . MTro Excel Worksheet Functions 2 October 3rd 07 09:49 AM
Convert text "date" (DDMMMYY) to datetime value of YYYY-MM-DD - ho j.a. harriman Excel Discussion (Misc queries) 7 March 29th 07 01:20 AM
Why does excel convert my text "6990011011234" to "6.99E+12"? pj Excel Discussion (Misc queries) 1 January 8th 06 03:27 AM
Find the date for monday prior to May 25th Ralph Heidecke Excel Worksheet Functions 1 January 5th 06 12:30 AM


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