Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Last friday
Hi, How can I get last friday from today() in vba? Thx -- gabch ------------------------------------------------------------------------ gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662 View this thread: http://www.excelforum.com/showthread...hreadid=547383 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Last friday
Depends when you consider your week to start, but
=TODAY()-WEEKDAY(TODAY())-1 Should probably do you. Weekday has various options for teh first day of the week. Jeff "gabch" wrote in message ... Hi, How can I get last friday from today() in vba? Thx -- gabch ------------------------------------------------------------------------ gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662 View this thread: http://www.excelforum.com/showthread...hreadid=547383 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Last friday
=TODAY()-CHOOSE(WEEKDAY(TODAY()),2,3,4,5,6,0,1)
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "gabch" wrote in message ... Hi, How can I get last friday from today() in vba? Thx -- gabch ------------------------------------------------------------------------ gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662 View this thread: http://www.excelforum.com/showthread...hreadid=547383 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula to display next Friday from B1 works except on the Friday itself. | Excel Discussion (Misc queries) | |||
Second Friday | Excel Worksheet Functions | |||
How can I get a row to display the date of the last friday, and every friday before that? | Excel Programming | |||
Friday | New Users to Excel | |||
Finding Friday | Excel Discussion (Misc queries) |