PC Review


Reply
Thread Tools Rate Thread

displaying "week of July 29, 2007"

 
 
bbcrock@gmail.com
Guest
Posts: n/a
 
      26th Jul 2007
I have an excel function that displays the date of an event as a the
numbered week of the year (1,2,29, etc). The clients want to display
all dates between July 29, 2007 and August 3, 2007 using the phrase
"Week of July 29, 2007." Of course I need this function to work for
the whole year. I have the week number, how can I convert that into
the date of the first monday in the week.

The function looks like:
=TRUNC(((A7-DATE(YEAR(A7),1,1))/7))+1+IF(WEEKDAY(DATE(YEAR(A7),
1,1))>WEEKDAY(A7),1,0)

thanks!

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9obiBCdW5keQ==?=
Guest
Posts: n/a
 
      26th Jul 2007
Monday can be found simply with this
=(A1-(WEEKDAY(A1)-2))
date is in A1 weekday tells the number of the day 1-7, subtract 2 because
monday is the second day.

--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"(E-Mail Removed)" wrote:

> I have an excel function that displays the date of an event as a the
> numbered week of the year (1,2,29, etc). The clients want to display
> all dates between July 29, 2007 and August 3, 2007 using the phrase
> "Week of July 29, 2007." Of course I need this function to work for
> the whole year. I have the week number, how can I convert that into
> the date of the first monday in the week.
>
> The function looks like:
> =TRUNC(((A7-DATE(YEAR(A7),1,1))/7))+1+IF(WEEKDAY(DATE(YEAR(A7),
> 1,1))>WEEKDAY(A7),1,0)
>
> thanks!
>
>

 
Reply With Quote
 
Ron Rosenfeld
Guest
Posts: n/a
 
      26th Jul 2007
On Thu, 26 Jul 2007 14:29:22 -0000, (E-Mail Removed) wrote:

>I have an excel function that displays the date of an event as a the
>numbered week of the year (1,2,29, etc). The clients want to display
>all dates between July 29, 2007 and August 3, 2007 using the phrase
>"Week of July 29, 2007." Of course I need this function to work for
>the whole year. I have the week number, how can I convert that into
>the date of the first monday in the week.
>
>The function looks like:
>=TRUNC(((A7-DATE(YEAR(A7),1,1))/7))+1+IF(WEEKDAY(DATE(YEAR(A7),
>1,1))>WEEKDAY(A7),1,0)
>
>thanks!


You already have the date in A7. Assuming your "week of" is to start on the
preceding Sunday, you can use this formula:

=TEXT(A7-WEEKDAY(A7)+1,"""Week of ""mmmm d, yyyy.")


--ron
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP!!! "find now" is changing my view from "day/week/month" to"Active Appointments" johng34 Microsoft Outlook Calendar 1 12th Jun 2009 03:31 AM
How do I show day-of-week in 'Calendar' -> "Work Week" & "Week" SkwrHdz Microsoft Outlook Discussion 1 8th May 2009 03:50 PM
Display "week of July 29" in Excel bbcrock@gmail.com Microsoft Excel Programming 3 26th Jul 2007 12:10 AM
Socket F Opteron coming July 11; Core 2 Duo "Conroe" July 23 Yousuf Khan Processors 0 26th May 2006 12:58 PM
Outlooks 2003 Inbox "Today", .. "Yesterday"..., "Last week".. etc... Pab Microsoft Outlook Discussion 2 25th Apr 2004 03:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:53 PM.