Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Find the previous Weekday (thursday)


How can I identify the previous Thursday given a date? For instance, if
I have a date (08/08/2006) in cell A4 and I need to know what the date
is for the previous Thursday (08/03/2006), what formula could identify
that date?


--
JimDandy
------------------------------------------------------------------------
JimDandy's Profile: http://www.excelforum.com/member.php...o&userid=16578
View this thread: http://www.excelforum.com/showthread...hreadid=570418

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Find the previous Weekday (thursday)

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

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"JimDandy" wrote in
message ...

How can I identify the previous Thursday given a date? For instance, if
I have a date (08/08/2006) in cell A4 and I need to know what the date
is for the previous Thursday (08/03/2006), what formula could identify
that date?


--
JimDandy
------------------------------------------------------------------------
JimDandy's Profile:

http://www.excelforum.com/member.php...o&userid=16578
View this thread: http://www.excelforum.com/showthread...hreadid=570418



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Find the previous Weekday (thursday)

On Thu, 10 Aug 2006 12:25:44 -0400, JimDandy
wrote:


How can I identify the previous Thursday given a date? For instance, if
I have a date (08/08/2006) in cell A4 and I need to know what the date
is for the previous Thursday (08/03/2006), what formula could identify
that date?


=A1-WEEKDAY(A1+2)
--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Find the previous Weekday (thursday)


Another alternative.......just in case....

For a date in A1

This formula returns the previous Thursday (unless A1 is already a
Thursday):
B1: =+A1-MOD(WEEKDAY(A1)+2,7)

Does that help?

Regards,

Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=570418

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Find the previous Weekday (thursday)


All these responses are very much appreciated. Thank you...


--
JimDandy
------------------------------------------------------------------------
JimDandy's Profile: http://www.excelforum.com/member.php...o&userid=16578
View this thread: http://www.excelforum.com/showthread...hreadid=570418

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
Find comment replace cell value [email protected] Excel Discussion (Misc queries) 3 July 5th 06 09:42 PM
Find largest alphanumeric value matching alpha criteria in databas Alison Excel Worksheet Functions 7 August 4th 05 06:59 PM
Find within Workbook. Matt Carter Excel Discussion (Misc queries) 2 August 3rd 05 07:40 PM
Find and replace of word causes change of font formatting jwa90010 New Users to Excel 4 July 22nd 05 08:10 PM
Excel has a "Find Next" command but no "Find Previous" command. Michael Fitzpatrick Excel Discussion (Misc queries) 2 January 10th 05 11:45 PM


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

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

About Us

"It's about Microsoft Excel"