ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Find the previous Weekday (thursday) (https://www.excelbanter.com/excel-worksheet-functions/104331-find-previous-weekday-thursday.html)

JimDandy

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


Bob Phillips

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




Ron Rosenfeld

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

Ron Coderre

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


JimDandy

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



All times are GMT +1. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com