ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   get the week start date (https://www.excelbanter.com/excel-discussion-misc-queries/200039-get-week-start-date.html)

squared chart area[_2_]

get the week start date
 
Hello,

I would like to know how can i get the start date of a given week number?
Any help on this?

Thanks in advance

Bernie Deitrick

get the week start date
 
It depends on your week numbering scheme: something along the lines of

=DATE(2007,12,24)+WkNum*7

That will give 12/31/2007 as the start date of week 1...

HTH,
Bernie
MS Excel MVP


"squared chart area" wrote in message
...
Hello,

I would like to know how can i get the start date of a given week number?
Any help on this?

Thanks in advance




John Moore

get the week start date
 
Hi, how about using =weeknum(yourdate)

"squared chart area" wrote:

Hello,

I would like to know how can i get the start date of a given week number?
Any help on this?

Thanks in advance


David Biddulph[_2_]

get the week start date
 
The OP was asking how to get a start date from a week number, not vice
versa, John.
--
David Biddulph

"John Moore" wrote in message
...
Hi, how about using =weeknum(yourdate)

"squared chart area" wrote:

Hello,

I would like to know how can i get the start date of a given week number?
Any help on this?

Thanks in advance




squared chart area[_2_]

get the week start date
 
Thanks A Lot Bernie for help, Nice idea.. works well
The weeks were in that formate: W33 (in cell A2)
So, I used
=value(mid(A2,2,2))



"Bernie Deitrick" wrote:

It depends on your week numbering scheme: something along the lines of

=DATE(2007,12,24)+WkNum*7

That will give 12/31/2007 as the start date of week 1...

HTH,
Bernie
MS Excel MVP


"squared chart area" wrote in message
...
Hello,

I would like to know how can i get the start date of a given week number?
Any help on this?

Thanks in advance





Rick Rothstein \(MVP - VB\)[_1203_]

get the week start date
 
This should work for any year (just change the two occurrences of 2008 in my
formula to the year you want to calculate for; or, better still, make them
cell references and set the year value in that cell)...

=DATE(2008,1,1)-WEEKDAY(DATE(2008,1,1))-6+7*WkNum

It assumes the week starts on Sunday, If you want it to start on a Monday
(as Bernie's routine does), then change the -6 to a -5.

Rick


"squared chart area" wrote in
message ...
Hello,

I would like to know how can i get the start date of a given week number?
Any help on this?

Thanks in advance




All times are GMT +1. The time now is 04:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com