View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.setup
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Workday return a Saturday date

Maybe

=WORKDAY(DATE(2007,3,31)+1,-1)

if he wants today unless it is a weekend date

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Niek Otten" wrote in message
...
Hi Jessie,

=WORKDAY(DATE(2007,4,1),-1)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jessie" wrote in message
...
| Hi,
|
| I used a workday function in my worksheet but the result returns a date
on
| Saturday... I don't know what I did wrong. I am using excel 2003.
|
| I was trying to calculate the date before month end, say March 31, 2007
| =workday(date(2007,3,31),0) and it returns 3/31/2007 which is a
Saturday.
| But I want 3/30/2007 as the last working date before the end of the
month.
|
| Can anyone help me?
|
| --
| Jessie