If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Correct Use of Excel WORKDAY Function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-19-07, 14:11
JerryDal JerryDal is offline
Registered User
 
Join Date: Jan 2002
Location: Bay Area
Posts: 473
Question Correct Use of Excel WORKDAY Function

I am having a problem with the Excel WORKDAY function.

A1 = 03/02/2007, B1 = 03/06/2007, C1 formula is: =WORKDAY(A1,B1)
and C1, formatted as a number, shows 93950. The result should be 3.
A1 and B1 cells are formatted as dates.

This worked for me several weeks ago when I tested it but did not save it, and now that I plan to use it in place of NETWORKDAYS, the WORKDAY function is not returning the correct number of days.

Jerry
Reply With Quote
  #2 (permalink)  
Old 03-19-07, 14:37
RedNeckGeek RedNeckGeek is offline
Village Idiot
 
Join Date: Jul 2003
Location: Michigan
Posts: 1,941
JerryDal,

You may want to look at the help file for the WorkDay function.
It takes a StartDate argument and a number of days argument, and
returns a date that x working days past the start date.
__________________
Inspiration Through Fermentation
Reply With Quote
  #3 (permalink)  
Old 03-21-07, 21:15
JerryDal JerryDal is offline
Registered User
 
Join Date: Jan 2002
Location: Bay Area
Posts: 473
thanks RedNeckGeek. So the Excel WORKDAY function will not calculate the number of working days between two dates.
I will use the NETWORKDAYS function.

Jerry
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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