Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 18
Default Finding Friday in week number

Hello, I have a week number and am trying to find the date of the Friday in
that week. The week number is selected in a drop down and used elsewhere so
I can't change it but need to derive the date of the Friday in the selected
week number. Can't find a way of doing this with my limited knowledge.
Thanks for looking.
David


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,365
Default Finding Friday in week number

I found that the easiest way for me to do this quickly was to determine the
date of the Friday in the first week. Assumes week starts on Sunday. First
friday can potentially be in previous year if you are starting with Jan 1 as
1st day entered.

But, works great for 2006 where 1/1/2006 was a Sunday.

Determine the date for the first Friday, i.e. 1/6/2006 for 2006
Assume that date is in G2 and you enter the weeknumber you want in G1
Then this formula will calculate date of Friday in a weeknumber:
=G$2+((G1-1)*7)
If G1 = 1, date is 1/6/2006
G1 = 8, 2/24/2006
G1 -50, 12/15/2006


"DavidS" wrote:

Hello, I have a week number and am trying to find the date of the Friday in
that week. The week number is selected in a drop down and used elsewhere so
I can't change it but need to derive the date of the Friday in the selected
week number. Can't find a way of doing this with my limited knowledge.
Thanks for looking.
David



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 380
Default Finding Friday in week number

=TODAY()+6-MOD(TODAY(),7)+(your_weeknum-WEEKNUM(TODAY()))*7

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"DavidS" wrote in message
...
Hello, I have a week number and am trying to find the date of the Friday

in
that week. The week number is selected in a drop down and used elsewhere

so
I can't change it but need to derive the date of the Friday in the

selected
week number. Can't find a way of doing this with my limited knowledge.
Thanks for looking.
David




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,365
Default Finding Friday in week number

Much better solution! I'm saving that one.

"Bob Phillips" wrote:

=TODAY()+6-MOD(TODAY(),7)+(your_weeknum-WEEKNUM(TODAY()))*7

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"DavidS" wrote in message
...
Hello, I have a week number and am trying to find the date of the Friday

in
that week. The week number is selected in a drop down and used elsewhere

so
I can't change it but need to derive the date of the Friday in the

selected
week number. Can't find a way of doing this with my limited knowledge.
Thanks for looking.
David





  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default Finding Friday in week number

Thank-you.

Bob

"JLatham" <HelpFrom @ Jlathamsite.com.(removethis) wrote in message
...
Much better solution! I'm saving that one.

"Bob Phillips" wrote:

=TODAY()+6-MOD(TODAY(),7)+(your_weeknum-WEEKNUM(TODAY()))*7

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"DavidS" wrote in message
...
Hello, I have a week number and am trying to find the date of the

Friday
in
that week. The week number is selected in a drop down and used

elsewhere
so
I can't change it but need to derive the date of the Friday in the

selected
week number. Can't find a way of doing this with my limited knowledge.
Thanks for looking.
David









  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default Finding Friday in week number

Forgot to mention that this solution does assume that you are using the MS
definition of a week number. Post back if you want an ISO defined week
number solution.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Bob Phillips" wrote in message
...
=TODAY()+6-MOD(TODAY(),7)+(your_weeknum-WEEKNUM(TODAY()))*7

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"DavidS" wrote in message
...
Hello, I have a week number and am trying to find the date of the Friday

in
that week. The week number is selected in a drop down and used elsewhere

so
I can't change it but need to derive the date of the Friday in the

selected
week number. Can't find a way of doing this with my limited knowledge.
Thanks for looking.
David






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
Retrieve multiple dates, from a week number? stonescar New Users to Excel 1 July 5th 06 05:05 PM
Pulling Data off Web - Need Function Help patfergie44 Excel Worksheet Functions 9 June 22nd 06 03:27 AM
Show week number in current month DKerr Excel Discussion (Misc queries) 4 February 23rd 06 09:20 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Sigma Function? Maria Garcao Excel Worksheet Functions 6 October 15th 05 10:09 PM


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