![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Would someone help me come up with a formula to subtact ten weekdays (not counting Saturdays and Sundays) from the date I enter in an existing date field? Thanks. |
#3
| |||
| |||
|
|
JoelL wrote: Would someone help me come up with a formula to subtact ten weekdays (not counting Saturdays and Sundays) from the date I enter in an existing date field? Thanks. I'm sure someone will post the more complex calculation, but perhaps the easiest way to think about this is that it is always 14 days total (unless the base date is itself on a weekend). |
#4
| |||
| |||
|
|
In article <13617ho1fiaq... (AT) corp (DOT) supernews.com>, Howard Schlossberg how... (AT) antispahm (DOT) fmprosolutions.com> wrote: JoelL wrote: Would someone help me come up with a formula to subtact ten weekdays (not counting Saturdays and Sundays) from the date I enter in an existing date field? Thanks. I'm sure someone will post the more complex calculation, but perhaps the easiest way to think about this is that it is always 14 days total (unless the base date is itself on a weekend). Yep, that's a very nice simple solution so there's no point in making it more complicated than that. TenWeekDayAgo = Date - 14 As well as the problem when Date is a weekend, there is one other hiccup if you're counting the Date itself as one of those 10 days, but you're probably not. Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) |
![]() |
| Thread Tools | |
| Display Modes | |
| |