Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cam Cam is offline
external usenet poster
 
Posts: 165
Default Date calculation help please!

Hello,

I am trying to find a formula to calculation the estimated completion date
for different operations which returns the date excluding holiday working 7
days a week @ 19 hours per day, but couldn't seemed to find the answer how.

Column A1 is the startdate.
Column B is the production time in days required to completed.
Column C starting C3 is the calculated value of completion date in date time
format.

Here is the sample table:
A B C
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) ComplDate
10 2.045 1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667

Thank for sugguestions
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Date calculation help please!

This gives you the result you posted

=WORKDAY($A$1,INT(B3))+MOD(B3,1)

but I don't get why it is 01:04 AM and not 07:04 AM.

How does 19 hours factor in, what are the 5 non-working hours?

--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Hello,

I am trying to find a formula to calculation the estimated completion date
for different operations which returns the date excluding holiday working
7
days a week @ 19 hours per day, but couldn't seemed to find the answer
how.

Column A1 is the startdate.
Column B is the production time in days required to completed.
Column C starting C3 is the calculated value of completion date in date
time
format.

Here is the sample table:
A B C
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) ComplDate
10 2.045 1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667

Thank for sugguestions



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cam Cam is offline
external usenet poster
 
Posts: 165
Default Date calculation help please!

Bob,

The formula is working except it doesn't exclude holiday. I have a separate
sheet called Holidays with a list of all the holidays in date.
How can I incorporate it into the formula to exclude those holidays? big
thanks.


"Bob Phillips" wrote:

This gives you the result you posted

=WORKDAY($A$1,INT(B3))+MOD(B3,1)

but I don't get why it is 01:04 AM and not 07:04 AM.

How does 19 hours factor in, what are the 5 non-working hours?

--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Hello,

I am trying to find a formula to calculation the estimated completion date
for different operations which returns the date excluding holiday working
7
days a week @ 19 hours per day, but couldn't seemed to find the answer
how.

Column A1 is the startdate.
Column B is the production time in days required to completed.
Column C starting C3 is the calculated value of completion date in date
time
format.

Here is the sample table:
A B C
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) ComplDate
10 2.045 1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667

Thank for sugguestions




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Date calculation help please!

=WORKDAY($A$1,INT(B3),holiday_range)+MOD(B3,1)


--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Bob,

The formula is working except it doesn't exclude holiday. I have a
separate
sheet called Holidays with a list of all the holidays in date.
How can I incorporate it into the formula to exclude those holidays? big
thanks.


"Bob Phillips" wrote:

This gives you the result you posted

=WORKDAY($A$1,INT(B3))+MOD(B3,1)

but I don't get why it is 01:04 AM and not 07:04 AM.

How does 19 hours factor in, what are the 5 non-working hours?

--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Hello,

I am trying to find a formula to calculation the estimated completion
date
for different operations which returns the date excluding holiday
working
7
days a week @ 19 hours per day, but couldn't seemed to find the answer
how.

Column A1 is the startdate.
Column B is the production time in days required to completed.
Column C starting C3 is the calculated value of completion date in date
time
format.

Here is the sample table:
A B C
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) ComplDate
10 2.045 1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667

Thank for sugguestions






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cam Cam is offline
external usenet poster
 
Posts: 165
Default Date calculation help please!

Bob,
Thanks, I included the holiday range (in date format), but I don't know why
it is still counting those holidays as workday.
My calendar holiday is not normal US holidays, but I thought it shouldn't
matter if it is based on the holiday list I specified. Any ideal?


"Bob Phillips" wrote:

=WORKDAY($A$1,INT(B3),holiday_range)+MOD(B3,1)


--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Bob,

The formula is working except it doesn't exclude holiday. I have a
separate
sheet called Holidays with a list of all the holidays in date.
How can I incorporate it into the formula to exclude those holidays? big
thanks.


"Bob Phillips" wrote:

This gives you the result you posted

=WORKDAY($A$1,INT(B3))+MOD(B3,1)

but I don't get why it is 01:04 AM and not 07:04 AM.

How does 19 hours factor in, what are the 5 non-working hours?

--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Hello,

I am trying to find a formula to calculation the estimated completion
date
for different operations which returns the date excluding holiday
working
7
days a week @ 19 hours per day, but couldn't seemed to find the answer
how.

Column A1 is the startdate.
Column B is the production time in days required to completed.
Column C starting C3 is the calculated value of completion date in date
time
format.

Here is the sample table:
A B C
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) ComplDate
10 2.045 1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667

Thank for sugguestions








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Date calculation help please!

I picked up in your new thread.

--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Bob,
Thanks, I included the holiday range (in date format), but I don't know
why
it is still counting those holidays as workday.
My calendar holiday is not normal US holidays, but I thought it shouldn't
matter if it is based on the holiday list I specified. Any ideal?


"Bob Phillips" wrote:

=WORKDAY($A$1,INT(B3),holiday_range)+MOD(B3,1)


--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Bob,

The formula is working except it doesn't exclude holiday. I have a
separate
sheet called Holidays with a list of all the holidays in date.
How can I incorporate it into the formula to exclude those holidays?
big
thanks.


"Bob Phillips" wrote:

This gives you the result you posted

=WORKDAY($A$1,INT(B3))+MOD(B3,1)

but I don't get why it is 01:04 AM and not 07:04 AM.

How does 19 hours factor in, what are the 5 non-working hours?

--
__________________________________
HTH

Bob

"Cam" wrote in message
...
Hello,

I am trying to find a formula to calculation the estimated
completion
date
for different operations which returns the date excluding holiday
working
7
days a week @ 19 hours per day, but couldn't seemed to find the
answer
how.

Column A1 is the startdate.
Column B is the production time in days required to completed.
Column C starting C3 is the calculated value of completion date in
date
time
format.

Here is the sample table:
A B C
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) ComplDate
10 2.045 1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667

Thank for sugguestions








  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Date calculation help please!

Hi

The returns the same answer as Bob but uses the 19 hour factor

=A1+SUM(B2:B6)/24*19

Where the start date is in A1 and the days are in B2:B6.

To handle holidays you will need to modify the approach:

=C3-NETWORKDAYS(A1,C3,M1:M5)+NETWORKDAYS(A1,C3)

In this case the first formula is in C3 and you would enter Holidays in M1:M5

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Cam" wrote:

Hello,

I am trying to find a formula to calculation the estimated completion date
for different operations which returns the date excluding holiday working 7
days a week @ 19 hours per day, but couldn't seemed to find the answer how.

Column A1 is the startdate.
Column B is the production time in days required to completed.
Column C starting C3 is the calculated value of completion date in date time
format.

Here is the sample table:
A B C
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) ComplDate
10 2.045 1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667

Thank for sugguestions

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cam Cam is offline
external usenet poster
 
Posts: 165
Default Date calculation help please!

Thanks Shane & Bob,

I will try out the formula tomorrow. Was ask to do another item which is to
calculation the date return per shift. There are shift, 1st & 2nd shift is
6.5 and 3rd shift is 6 hrs. Do I use the same formula except /24*6.5 for 1 &
2 and /24*6 for 3 shift?

Result wanted:
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) 1st shift 2nd shift 3rd shift
10 2.045 " "
1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667



"Shane Devenshire" wrote:

Hi

The returns the same answer as Bob but uses the 19 hour factor

=A1+SUM(B2:B6)/24*19

Where the start date is in A1 and the days are in B2:B6.

To handle holidays you will need to modify the approach:

=C3-NETWORKDAYS(A1,C3,M1:M5)+NETWORKDAYS(A1,C3)

In this case the first formula is in C3 and you would enter Holidays in M1:M5

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Cam" wrote:

Hello,

I am trying to find a formula to calculation the estimated completion date
for different operations which returns the date excluding holiday working 7
days a week @ 19 hours per day, but couldn't seemed to find the answer how.

Column A1 is the startdate.
Column B is the production time in days required to completed.
Column C starting C3 is the calculated value of completion date in date time
format.

Here is the sample table:
A B C
1/2/2009 6:00 AM StartDate
Opr ProdTime (Days) ComplDate
10 2.045 1/6/09 1:04 AM
20 0.143
30 0.667
40 1.611
50 0.667

Thank for sugguestions

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
Date Calculation Bill Excel Worksheet Functions 14 January 5th 09 06:46 PM
Date Calculation (from entered date / 1yr later in next field) ajaminb Excel Worksheet Functions 6 September 29th 08 02:11 PM
Date Calculation Donald[_2_] New Users to Excel 2 February 12th 08 03:19 PM
End Date Calculation (adding a start date duration) Silena K-K Excel Discussion (Misc queries) 5 January 25th 08 04:27 PM
Tricky Date calculation: How to calculate a future date [email protected] Excel Discussion (Misc queries) 9 August 11th 06 04:24 AM


All times are GMT +1. The time now is 10:11 PM.

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"