PC Review


Reply
Thread Tools Rate Thread

Display "week of July 29" in Excel

 
 
bbcrock@gmail.com
Guest
Posts: n/a
 
      25th Jul 2007
I followed examples to display all dates in a given week as "Week 26"
or "Week 31" but would like to modify the date so it reads "Week of
July 29, 2007."

the formula I'm using looks like this:

=TRUNC(((A7-DATE(YEAR(A7),1,1))/7))+1+IF(WEEKDAY(DATE(YEAR(A7),
1,1))>WEEKDAY(A7),1,0)

thanks for any help!

I would like to stick to something easier rather than more complex if
such a solution exists.

 
Reply With Quote
 
 
 
 
Roger Govier
Guest
Posts: n/a
 
      25th Jul 2007
Hi

Try
="Week of "&TEXT(A7-WEEKDAY(A7,2),"mmmm dd, yyyy")

--
Regards
Roger Govier



<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I followed examples to display all dates in a given week as "Week 26"
> or "Week 31" but would like to modify the date so it reads "Week of
> July 29, 2007."
>
> the formula I'm using looks like this:
>
> =TRUNC(((A7-DATE(YEAR(A7),1,1))/7))+1+IF(WEEKDAY(DATE(YEAR(A7),
> 1,1))>WEEKDAY(A7),1,0)
>
> thanks for any help!
>
> I would like to stick to something easier rather than more complex if
> such a solution exists.
>



 
Reply With Quote
 
=?Utf-8?B?UnViYmxl?=
Guest
Posts: n/a
 
      25th Jul 2007
Try this --

=CONCATENATE("Week of ",TEXT(INT(NOW()/7)*7+1,"[$-409]mmmm d;@"))

I used the now() formula for the date you are looking at (so the above
formula today will show "Week of July 22" since we are on the 25th today -
but you could replace the now() with a reference to another date then that
will work for consecutive dates ...

"(E-Mail Removed)" wrote:

> I followed examples to display all dates in a given week as "Week 26"
> or "Week 31" but would like to modify the date so it reads "Week of
> July 29, 2007."
>
> the formula I'm using looks like this:
>
> =TRUNC(((A7-DATE(YEAR(A7),1,1))/7))+1+IF(WEEKDAY(DATE(YEAR(A7),
> 1,1))>WEEKDAY(A7),1,0)
>
> thanks for any help!
>
> I would like to stick to something easier rather than more complex if
> such a solution exists.
>
>

 
Reply With Quote
 
=?Utf-8?B?VmVyZ2VsIEFkcmlhbm8=?=
Guest
Posts: n/a
 
      26th Jul 2007

="Week of " & TEXT(IF(WEEKDAY(A7)=1, A7, A7-WEEKDAY(A7)+1), "mmmm dd, yyyy")


--
Hope that helps.

Vergel Adriano


"(E-Mail Removed)" wrote:

> I followed examples to display all dates in a given week as "Week 26"
> or "Week 31" but would like to modify the date so it reads "Week of
> July 29, 2007."
>
> the formula I'm using looks like this:
>
> =TRUNC(((A7-DATE(YEAR(A7),1,1))/7))+1+IF(WEEKDAY(DATE(YEAR(A7),
> 1,1))>WEEKDAY(A7),1,0)
>
> thanks for any help!
>
> I would like to stick to something easier rather than more complex if
> such a solution exists.
>
>

 
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Microsoft Excel Misc 2 8th Aug 2008 01:54 AM
Outlook 2003 does not display "Last Month", "Last Week", "Today" e =?Utf-8?B?QW5pdGFfUGZh?= Microsoft Outlook Discussion 2 29th Oct 2007 06:51 AM
Display "this week" column headers w/date & day of week? =?Utf-8?B?SXZhbiBXaWVnYW5k?= Microsoft Excel Worksheet Functions 9 12th Sep 2007 05:18 PM
displaying "week of July 29, 2007" bbcrock@gmail.com Microsoft Excel Programming 2 26th Jul 2007 11:21 PM
Socket F Opteron coming July 11; Core 2 Duo "Conroe" July 23 Yousuf Khan Processors 0 26th May 2006 12:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:16 AM.