Display yesterday's date but only for weekdays?
On Jul 21, 3:38*pm, Shane Devenshire
wrote:
Sorry if this posts twice but had a crash when I clicked Post
This depends on what days you do this for, if you only use the file Monday
to Friday then
=TODAY()-(MOD(TODAY(),7)=2)-1
If on the otherhand you might open the file on Sunday then the above will
need to be modified.
--
If this helps, please click the Yes button.
Cheers,
Shane Devenshire
"totalnatal" wrote:
Hi,
I have the following function : =TODAY()-1
The problem is that if we're monday it gives me sunday's date whereas
I only want weekdays so in this case friday.
Any idea on how to mod the function to do that?
thanks- Hide quoted text -
- Show quoted text -
Hey,
Thanks, I think it works but was wondering how you constructed it,
especially regarding the use of MOD function. Thanks
|