View Single Post
  #2   Report Post  
Tom Ogilvy
 
Posts: n/a
Default If function for workday & weekend

=if(weekday(today()-1,2)<6,C2,C2/3)

--
Regards,
Tom Ogilvy


"insplkm" wrote in
message ...

Hi, I need help to setup a function with the following concept:

in A1, If today()-1 is a workday, take value directly from C2, if its
weekend, take value from C2 divide by 3.

Thanks.


--
insplkm
------------------------------------------------------------------------
insplkm's Profile:

http://www.excelforum.com/member.php...o&userid=28771
View this thread: http://www.excelforum.com/showthread...hreadid=484600