![]() |
25 days previous to today?
Hi,
Can anyone help? Is it possible to write a formula whereby it will calculate 25 weekdays previous to today? I have tried to do the following, however it includes saturdays and sunday too and i cannot work out how to avoid including weekends? =today()-25 |
25 days previous to today?
Hi
Try this: =WORKDAY(TODAY(),-25) I believe this function requires the analysis toolpak as an add-in (see Tools/Add-ins) Andy. "MaQ" wrote in message ... Hi, Can anyone help? Is it possible to write a formula whereby it will calculate 25 weekdays previous to today? I have tried to do the following, however it includes saturdays and sunday too and i cannot work out how to avoid including weekends? =today()-25 |
25 days previous to today?
If TODAY will always be a weekday, couldn't you just use this?:
=TODAY()-5*7 Does that help? *********** Regards, Ron XL2002, WinXP-Pro "MaQ" wrote: Hi, Can anyone help? Is it possible to write a formula whereby it will calculate 25 weekdays previous to today? I have tried to do the following, however it includes saturdays and sunday too and i cannot work out how to avoid including weekends? =today()-25 |
25 days previous to today?
This should do it. =WORKDAY(TODAY(),-25) HTH Steve -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=522259 |
25 days previous to today?
=WORKDAY(TODAY(),-25)
"Ron Coderre" wrote: If TODAY will always be a weekday, couldn't you just use this?: =TODAY()-5*7 Does that help? *********** Regards, Ron XL2002, WinXP-Pro "MaQ" wrote: Hi, Can anyone help? Is it possible to write a formula whereby it will calculate 25 weekdays previous to today? I have tried to do the following, however it includes saturdays and sunday too and i cannot work out how to avoid including weekends? =today()-25 |
All times are GMT +1. The time now is 07:55 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com