Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 9
Default Workday return a Saturday date

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
  #2   Report Post  
Posted to microsoft.public.excel.setup
external usenet poster
 
Posts: 3,440
Default Workday return a Saturday date

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


  #3   Report Post  
Posted to microsoft.public.excel.setup
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine next Saturday based on a given date ann Excel Worksheet Functions 6 April 2nd 23 08:13 PM
How do you calculate workdays if Saturday is a workday? Tracy Parish Excel Worksheet Functions 3 April 18th 08 12:18 PM
Determine next Saturday in calendar based on date in a cell ann New Users to Excel 4 October 9th 06 05:09 PM
workday date function sjayar Excel Worksheet Functions 3 November 11th 05 05:15 PM
Include Saturday in the WORKDAY function kippi3000 Excel Worksheet Functions 9 December 31st 04 08:21 AM


All times are GMT +1. The time now is 06:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"