Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Consolidating Weeks

Status
Not open for further replies.

surad

Technical User
Mar 10, 2003
37
US
I need the formula for the weeks for example we are on week 36 of year 2003 ... what number does it end and the format for it?

- Thank you
 
If you're looking for the work week,

datepart("ww", date())

But it returns 38 today...

HTH,
Bob
Thread181-473997 provides information regarding this site.
 
Bob,

I am sorry I didn't clearly indicated what I was looking for. I am actually that function that returns the date(day) of particular week for example Second week of January 2003 ends Sunday the 12th therefore, I am looking the function that returns the 12th.


Thank you,
Yuri
 
Yuri,

Given a date, to calculate the last day of that week:

=Date() - WeekDay(Date(), 0) + 1

If you're starting with a work week, I don't know how to get there.

Maybe someone else can assist...

Good Luck!
Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top