Convert WeekNum to Sunday's date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
What formula can convert a week number to the Sunday's date for the week
number listed. Example:
Year WeekNumber Formula Result
2006 3 Jan 15,2006
2005 51 Dec 18,2005
I have searched and still can't find the solution.
Thanks you very much for your help!
Terri
 
Terri --
If Year is Column A, Wk# is Column B, Result is Column C, then this works in
Column D =

=IF(WEEKDAY(C2)>1,C2-(WEEKDAY(C2)-1),C2)

It says, "Take the day of the week of the formula result. If it's anything
other than a '1' (the first day of the week), subtract one less than that
number to get back to Sunday of that week. If it already is Sunday, just
leave it alone."

It's kind of brute force, but it works. Maybe someone else can be a bit
more elegant.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top