Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Finding a specific date from a week no.

Is there a formula to find a specific date from a week no?

For example Week 42 day 2 (Monday) would result 16/10/06

Regards
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Finding a specific date from a week no.


"TheRook" schreef in bericht
...
Is there a formula to find a specific date from a week no?

For example Week 42 day 2 (Monday) would result 16/10/06

Regards



Put weeknumber 42 in Cel A2 and daynumber 2 in Cel B2, then try this one.

=DATE(2006;12;31)-(365-(((365/52)*A2)-(IF((7-B2)0;7-B2;B2-7))))

Not sure, I only tested 10/16/06, 01/01/01 and 12/31/06 with a positive
result.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Finding a specific date from a week no.

correction, pasted the wrong one

=DATE(2006;12;31)-(365-(((365/52)*A2)-(IF((7-B2)0;7-B2;31-B2))))


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Finding a specific date from a week no.

A5: year
B5: week No
C5: day of week

=DATE(A5,1,1)+(B5-1)*7+C5

Regards,
Stefi

€˛moon€¯ ezt Ć*rta:

correction, pasted the wrong one

=DATE(2006;12;31)-(365-(((365/52)*A2)-(IF((7-B2)0;7-B2;31-B2))))



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,886
Default Finding a specific date from a week no.

Hi

With A1 holding the first Monday of the Year required e.g 02 Jan 2006
and A2 holding the week number then
=A1+(A2-1)*7

--
Regards

Roger Govier


"TheRook" wrote in message
...
Is there a formula to find a specific date from a week no?

For example Week 42 day 2 (Monday) would result 16/10/06

Regards





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Finding a specific date from a week no.

<the first Monday of the Year required



Which is:



=DATE(Yr,1,1+(Nth-(Dow=WEEKDAY(DATE(Yr,1,1))))*7)+ Dow-WEEKDAY(DATE(Yr,1,1))



Where Dow = 2.



From Chip Pearson: http://www.cpearson.com/excel/DateTi...tm#LastWeekday




--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Roger Govier" wrote in message ...
| Hi
|
| With A1 holding the first Monday of the Year required e.g 02 Jan 2006
| and A2 holding the week number then
| =A1+(A2-1)*7
|
| --
| Regards
|
| Roger Govier
|
|
| "TheRook" wrote in message
| ...
| Is there a formula to find a specific date from a week no?
|
| For example Week 42 day 2 (Monday) would result 16/10/06
|
| Regards
|
|
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
Finding the week of date ExcelUser09 Excel Discussion (Misc queries) 4 March 24th 09 10:40 PM
Finding the next dayof the week after a certain date. Kevin Mulvaney Excel Worksheet Functions 4 August 21st 08 05:40 PM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM
Finding the Monday date based on a different date in same week dandiehl Excel Worksheet Functions 4 April 11th 06 06:03 PM
Finding week from date Chris Excel Programming 4 February 17th 04 01:33 PM


All times are GMT +1. The time now is 01:15 AM.

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"