Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wil
 
Posts: n/a
Default Translate WEEKNUM result into a date

I would like to know how to convert/translate the numeric value that WEEKNUM
returns into a date format. What is the best way to do this?
  #2   Report Post  
Paul Sheppard
 
Posts: n/a
Default


Wil Wrote:
I would like to know how to convert/translate the numeric value that
WEEKNUM
returns into a date format. What is the best way to do this?


Hi Wil

Might be missing something here but WEEKNUM converts the date to the
week number, therefore you already have the date


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=465793

  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 7 Sep 2005 18:25:02 -0700, Wil wrote:

I would like to know how to convert/translate the numeric value that WEEKNUM
returns into a date format. What is the best way to do this?


If you change the numeric value returned by WEEKNUM to a date format, you will
display a date in the year 1900 or 1904.

To convert that value, merely select Format/Cells/Number Date (and choose one
of those options). Or use the formula =TEXT(wn,"dd-mmm-yyyy") or some other
format.

Maybe you mean something else?

For example, perhaps you mean "what date does a weeknum of 'numeric_value'
represent"?

If that is the case, then you have to specify both the year, as well as which
day of the week you want returned. Weeknum considers Jan 1 as being the first
day of Week 1; and the next Sunday (or Monday) as being the first day of week
2.

Once you specify your parameters, performing the conversion is simply a matter
of adding 7*wn to Jan 1 of the relevant year, and then adjusting for the day of
the week you wish to return; as well as whether or not Week 1 is a partial week
or a full week.


--ron
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 do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Recurring annual events using a specific date as a trigger date Bamboozled Excel Worksheet Functions 1 June 6th 05 01:44 PM
Cell / Date Formatting Question when result = -0- seve Excel Discussion (Misc queries) 3 January 17th 05 02:29 AM
Sum formula result expressed as a date Robert E Hansen Excel Discussion (Misc queries) 1 January 11th 05 12:13 AM
Lookup the latest date in a range so it appears as my result FBB Excel Discussion (Misc queries) 1 December 4th 04 03:50 AM


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