Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Displaying Tuesday's date throughout the week

Try this:

=TODAY()-WEEKDAY(TODAY())+3

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Bob" wrote:

I'm trying to create a formula in cell A1 that will always display the date
of the Tuesday of the current week. For example, from 1/2/2007 through
1/8/2007, cell A1 would always display 1/2/2007; from 1/9/2007 through
1/15/2007, cell A1 would always display 1/9/2007, etc.
I have tried using a combination of the WEEKDAY and MOD functions, but I
have been unable to come up with a formula that works. Also, I would prefer
NOT to use a UDF if at all possible.
Any help would be greatly appreciated.
Thanks, Bob

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Displaying Tuesday's date throughout the week

Ron,
Thanks for your help. Unfortunately, when TODAY() = 1/7/2007, the date in
cell A1 changes to 1/9/2007. The date in cell A1 should not change until it
is Tuesday (e.g., 1/9/2007, 1/16/2007, etc.). Please refer to my original
question.
Thanks again,
Bob


"Ron Coderre" wrote:

Try this:

=TODAY()-WEEKDAY(TODAY())+3

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Bob" wrote:

I'm trying to create a formula in cell A1 that will always display the date
of the Tuesday of the current week. For example, from 1/2/2007 through
1/8/2007, cell A1 would always display 1/2/2007; from 1/9/2007 through
1/15/2007, cell A1 would always display 1/9/2007, etc.
I have tried using a combination of the WEEKDAY and MOD functions, but I
have been unable to come up with a formula that works. Also, I would prefer
NOT to use a UDF if at all possible.
Any help would be greatly appreciated.
Thanks, Bob

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Displaying Tuesday's date throughout the week

OK....how about this?

=TODAY()-CHOOSE(WEEKDAY(TODAY()),5,6,0,1,2,3,4)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Bob" wrote:

Ron,
Thanks for your help. Unfortunately, when TODAY() = 1/7/2007, the date in
cell A1 changes to 1/9/2007. The date in cell A1 should not change until it
is Tuesday (e.g., 1/9/2007, 1/16/2007, etc.). Please refer to my original
question.
Thanks again,
Bob


"Ron Coderre" wrote:

Try this:

=TODAY()-WEEKDAY(TODAY())+3

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Bob" wrote:

I'm trying to create a formula in cell A1 that will always display the date
of the Tuesday of the current week. For example, from 1/2/2007 through
1/8/2007, cell A1 would always display 1/2/2007; from 1/9/2007 through
1/15/2007, cell A1 would always display 1/9/2007, etc.
I have tried using a combination of the WEEKDAY and MOD functions, but I
have been unable to come up with a formula that works. Also, I would prefer
NOT to use a UDF if at all possible.
Any help would be greatly appreciated.
Thanks, Bob

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Displaying Tuesday's date throughout the week

Ron,
That did the trick! Thanks!!!
Regards,
Bob


"Ron Coderre" wrote:

OK....how about this?

=TODAY()-CHOOSE(WEEKDAY(TODAY()),5,6,0,1,2,3,4)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Bob" wrote:

Ron,
Thanks for your help. Unfortunately, when TODAY() = 1/7/2007, the date in
cell A1 changes to 1/9/2007. The date in cell A1 should not change until it
is Tuesday (e.g., 1/9/2007, 1/16/2007, etc.). Please refer to my original
question.
Thanks again,
Bob


"Ron Coderre" wrote:

Try this:

=TODAY()-WEEKDAY(TODAY())+3

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Bob" wrote:

I'm trying to create a formula in cell A1 that will always display the date
of the Tuesday of the current week. For example, from 1/2/2007 through
1/8/2007, cell A1 would always display 1/2/2007; from 1/9/2007 through
1/15/2007, cell A1 would always display 1/9/2007, etc.
I have tried using a combination of the WEEKDAY and MOD functions, but I
have been unable to come up with a formula that works. Also, I would prefer
NOT to use a UDF if at all possible.
Any help would be greatly appreciated.
Thanks, Bob

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
from date return week date range ERahn Excel Worksheet Functions 3 December 2nd 06 02:28 AM
Need to convert date to "day of the week only" [email protected] Excel Worksheet Functions 2 April 26th 06 03:10 PM
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
date is not displaying correctly Deb Excel Discussion (Misc queries) 3 June 14th 05 12:56 AM
52 week average based on date tomandrobyn Excel Discussion (Misc queries) 5 June 3rd 05 07:34 PM


All times are GMT +1. The time now is 07:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"