Thread: Dates
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
sharonn sharonn is offline
external usenet poster
 
Posts: 3
Default Dates

I already tried both of these
=workday(E24,D23) results in #NAME? and
=workDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29)) results in #NAME?
what am I doing wrong? thx

"Peo Sjoblom" wrote:

=WORKDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)),-C29)

however if you have a date in D30 you don't need the DATE function

=D30-C29

or


=WORKDAY(D30,-C29)


--


Regards,


Peo Sjoblom

"sharonn" wrote in message
...
I developing a small project plan in excel - starting with project end date
and subtracting task durations to get to start date. Using
=DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29) to get to the next earlier date.
Problem is I need to exclude weekend dates. D30=end date. C29=duration
of
task. How do I do that?