#1   Report Post  
Posted to microsoft.public.excel.misc
Barbara
 
Posts: n/a
Default Date Formula

Hi,
I have a column with a week number (15 for example) and i would like to
return this number in the format of date. Better: it has to be the Friday of
this week number.
Example : Week Date
15 07/04/2006

Hope that somenone can help me.
Tkanks,
Barbara
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Date Formula

Hi Barbara:

In A1 put the week number
in A2 put:
=38718+7*A1-9 and format as a date.
--
Gary's Student


"Barbara" wrote:

Hi,
I have a column with a week number (15 for example) and i would like to
return this number in the format of date. Better: it has to be the Friday of
this week number.
Example : Week Date
15 07/04/2006

Hope that somenone can help me.
Tkanks,
Barbara

  #3   Report Post  
Posted to microsoft.public.excel.misc
johneva
 
Posts: n/a
Default Date Formula


The only way I know would be to make seperate table with a list of the
week numbers and the dates for each week and then use a lookup to check
for the value to be entered in your main table.

But I dont know much about Excel and there is proberbly a better way so
I would wait for one of the others to see what they say.


--
johneva
------------------------------------------------------------------------
johneva's Profile: http://www.excelforum.com/member.php...o&userid=34156
View this thread: http://www.excelforum.com/showthread...hreadid=539216

  #5   Report Post  
Posted to microsoft.public.excel.misc
Barbara
 
Posts: n/a
Default Date Formula

Thanks Gary
It works!!!

"Gary''s Student" escreveu:

Hi Barbara:

In A1 put the week number
in A2 put:
=38718+7*A1-9 and format as a date.
--
Gary's Student


"Barbara" wrote:

Hi,
I have a column with a week number (15 for example) and i would like to
return this number in the format of date. Better: it has to be the Friday of
this week number.
Example : Week Date
15 07/04/2006

Hope that somenone can help me.
Tkanks,
Barbara



  #6   Report Post  
Posted to microsoft.public.excel.misc
Barbara
 
Posts: n/a
Default Date Formula

Don,
It gives an error on (2006,1,1). How can I fix it?


"Don Guillett" escreveu:

try this.
=DATE(2006,1,1)-WEEKDAY(DATE(2006,1,2))+B1*7

--
Don Guillett
SalesAid Software

"Barbara" wrote in message
...
Hi,
I have a column with a week number (15 for example) and i would like to
return this number in the format of date. Better: it has to be the Friday
of
this week number.
Example : Week Date
15 07/04/2006

Hope that somenone can help me.
Tkanks,
Barbara




  #7   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default Date Formula

"Barbara" wrote in message
...

"Barbara" wrote in message
...
Hi,
I have a column with a week number (15 for example) and i would like to
return this number in the format of date. Better: it has to be the
Friday
of
this week number.
Example : Week Date
15 07/04/2006

Hope that somenone can help me.
Tkanks,
Barbara


"Don Guillett" escreveu:

try this.
=DATE(2006,1,1)-WEEKDAY(DATE(2006,1,2))+B1*7

--
Don Guillett
SalesAid Software


Don,
It gives an error on (2006,1,1). How can I fix it?


What sort of error are you seeing?
The formula seems to work for me. Note that it gives 14/4/06 for week 15,
not 7/4/06 as you had suggested. [Week 1 gives 6/1/06] You may need to be
careful about what sort of week numbers you are using, see:
http://www.cpearson.com/excel/weeknum.htm
--
David Biddulph


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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 09:02 PM
Trending Formula Results by Date sony654 Excel Worksheet Functions 0 January 2nd 06 03:33 AM
Year-to-date year to date formula Philm Excel Worksheet Functions 1 October 7th 05 03:50 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 04:28 AM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 08:41 PM


All times are GMT +1. The time now is 08:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"