Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default changing time formula from 16 hour days to 24

I am using a spreed sheet that runs a time line as to how long something will
take to be produced. On a separate work sheet I have numbered the different
step and assigned how much time it takes to go through each step. All someone
needs to do is enter in all of the steps that a part will go through and it
calculates how long it will take. My problem is that the formulas are based
on a 16 hour work day and not 24 hours. How can I change this?

Here is the formula

=IF(A21="","",IF(AND((MOD(D20,1)+(VLOOKUP(A21,'WOR K
STEPS'!D$2:E$39,2,TRUE))0.041666),MOD(D20,1)<0.33 3333),IF(WEEKDAY(D20,1)=6,(ROUNDDOWN(D20,0)+2.3333 33+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE)),(ROUNDDOWN(D20,0)+0.33333 3+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE))),D20+VLOOKUP(A21,'WORK STEPS'!D$2:E$39,2,TRUE)))


Thank You

Scott
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default changing time formula from 16 hour days to 24

The only things that seem to relate to time in hours is the value 0.041666
which is 1 hour, and 0.33333 which is 8 hours. Without knowing what's in the
range 'WORK STEPS'!D$2:E$39, and what's in A21, D20, I doubt that anyone's
going to be willing or able to help. Maybe just a smidgin more information.
--
p45cal


"Scott W" wrote:

I am using a spreed sheet that runs a time line as to how long something will
take to be produced. On a separate work sheet I have numbered the different
step and assigned how much time it takes to go through each step. All someone
needs to do is enter in all of the steps that a part will go through and it
calculates how long it will take. My problem is that the formulas are based
on a 16 hour work day and not 24 hours. How can I change this?

Here is the formula

=IF(A21="","",IF(AND((MOD(D20,1)+(VLOOKUP(A21,'WOR K
STEPS'!D$2:E$39,2,TRUE))0.041666),MOD(D20,1)<0.33 3333),IF(WEEKDAY(D20,1)=6,(ROUNDDOWN(D20,0)+2.3333 33+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE)),(ROUNDDOWN(D20,0)+0.33333 3+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE))),D20+VLOOKUP(A21,'WORK STEPS'!D$2:E$39,2,TRUE)))


Thank You

Scott

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default changing time formula from 16 hour days to 24

In the work steps I have the foloowing information


Step Discription time code Factor
10 Issue Material 0.05 10 .02
20 Clean 0.05 20 .02
30 Bake 1.00 30 .04


In A21 it has the setp and D21 has the formula that I sent earlier.


Thanks


Scott

"Scott W" wrote:

I am using a spreed sheet that runs a time line as to how long something will
take to be produced. On a separate work sheet I have numbered the different
step and assigned how much time it takes to go through each step. All someone
needs to do is enter in all of the steps that a part will go through and it
calculates how long it will take. My problem is that the formulas are based
on a 16 hour work day and not 24 hours. How can I change this?

Here is the formula

=IF(A21="","",IF(AND((MOD(D20,1)+(VLOOKUP(A21,'WOR K
STEPS'!D$2:E$39,2,TRUE))0.041666),MOD(D20,1)<0.33 3333),IF(WEEKDAY(D20,1)=6,(ROUNDDOWN(D20,0)+2.3333 33+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE)),(ROUNDDOWN(D20,0)+0.33333 3+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE))),D20+VLOOKUP(A21,'WORK STEPS'!D$2:E$39,2,TRUE)))


Thank You

Scott

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default changing time formula from 16 hour days to 24

and D20 ?!
--
p45cal


"Scott W" wrote:

In the work steps I have the foloowing information


Step Discription time code Factor
10 Issue Material 0.05 10 .02
20 Clean 0.05 20 .02
30 Bake 1.00 30 .04


In A21 it has the setp and D21 has the formula that I sent earlier.


Thanks


Scott

"Scott W" wrote:

I am using a spreed sheet that runs a time line as to how long something will
take to be produced. On a separate work sheet I have numbered the different
step and assigned how much time it takes to go through each step. All someone
needs to do is enter in all of the steps that a part will go through and it
calculates how long it will take. My problem is that the formulas are based
on a 16 hour work day and not 24 hours. How can I change this?

Here is the formula

=IF(A21="","",IF(AND((MOD(D20,1)+(VLOOKUP(A21,'WOR K
STEPS'!D$2:E$39,2,TRUE))0.041666),MOD(D20,1)<0.33 3333),IF(WEEKDAY(D20,1)=6,(ROUNDDOWN(D20,0)+2.3333 33+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE)),(ROUNDDOWN(D20,0)+0.33333 3+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE))),D20+VLOOKUP(A21,'WORK STEPS'!D$2:E$39,2,TRUE)))


Thank You

Scott

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default changing time formula from 16 hour days to 24

Here is the actual time line sheet


Colum A B C D


Step # Description Move BY
10 IL MTL ISSUE 7/11/07 12:47 PM
20 IL COAT 7/11/07 1:17 PM
30 IL IMAGE 7/11/07 1:47 PM

Work Step Sheet

Colum A B C
Code Description Hour Code
Factor
10 IL MTL ISSUE 0.05 10 0 .020
20 Clean 0.05 20
0.020
30 Bake 1.50 30 0.020


Etc. I also have it linked to another work sheet which has holidys. Right
now since it is set up for 16 hour work days when it comes to 12:00AM the
next step does not start until 8:00am


Thanks
"p45cal" wrote:

and D20 ?!
--
p45cal


"Scott W" wrote:

In the work steps I have the foloowing information


Step Discription time code Factor
10 Issue Material 0.05 10 .02
20 Clean 0.05 20 .02
30 Bake 1.00 30 .04


In A21 it has the setp and D21 has the formula that I sent earlier.


Thanks


Scott

"Scott W" wrote:

I am using a spreed sheet that runs a time line as to how long something will
take to be produced. On a separate work sheet I have numbered the different
step and assigned how much time it takes to go through each step. All someone
needs to do is enter in all of the steps that a part will go through and it
calculates how long it will take. My problem is that the formulas are based
on a 16 hour work day and not 24 hours. How can I change this?

Here is the formula

=IF(A21="","",IF(AND((MOD(D20,1)+(VLOOKUP(A21,'WOR K
STEPS'!D$2:E$39,2,TRUE))0.041666),MOD(D20,1)<0.33 3333),IF(WEEKDAY(D20,1)=6,(ROUNDDOWN(D20,0)+2.3333 33+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE)),(ROUNDDOWN(D20,0)+0.33333 3+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE))),D20+VLOOKUP(A21,'WORK STEPS'!D$2:E$39,2,TRUE)))


Thank You

Scott



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default changing time formula from 16 hour days to 24

Right, the formula you gave allows steps to go on until 1am; if they would go
beyond 1am then that step starts at 8am next morning instead. A 17 hour day.
The formula you gave also takes into account weekends, with the last job
having to be finished before Saturday 1am, Monday 8am being the next start
time.

Do you still want weekends taken into acount? If so, is the end of the week
still 1am Saturday, and start of the week 8am Monday? Or is production now
truly 24/7?

--
p45cal


"Scott W" wrote:

Here is the actual time line sheet


Colum A B C D


Step # Description Move BY
10 IL MTL ISSUE 7/11/07 12:47 PM
20 IL COAT 7/11/07 1:17 PM
30 IL IMAGE 7/11/07 1:47 PM

Work Step Sheet

Colum A B C
Code Description Hour Code
Factor
10 IL MTL ISSUE 0.05 10 0 .020
20 Clean 0.05 20
0.020
30 Bake 1.50 30 0.020


Etc. I also have it linked to another work sheet which has holidys. Right
now since it is set up for 16 hour work days when it comes to 12:00AM the
next step does not start until 8:00am


Thanks
"p45cal" wrote:

and D20 ?!
--
p45cal


"Scott W" wrote:

In the work steps I have the foloowing information


Step Discription time code Factor
10 Issue Material 0.05 10 .02
20 Clean 0.05 20 .02
30 Bake 1.00 30 .04


In A21 it has the setp and D21 has the formula that I sent earlier.


Thanks


Scott

"Scott W" wrote:

I am using a spreed sheet that runs a time line as to how long something will
take to be produced. On a separate work sheet I have numbered the different
step and assigned how much time it takes to go through each step. All someone
needs to do is enter in all of the steps that a part will go through and it
calculates how long it will take. My problem is that the formulas are based
on a 16 hour work day and not 24 hours. How can I change this?

Here is the formula

=IF(A21="","",IF(AND((MOD(D20,1)+(VLOOKUP(A21,'WOR K
STEPS'!D$2:E$39,2,TRUE))0.041666),MOD(D20,1)<0.33 3333),IF(WEEKDAY(D20,1)=6,(ROUNDDOWN(D20,0)+2.3333 33+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE)),(ROUNDDOWN(D20,0)+0.33333 3+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE))),D20+VLOOKUP(A21,'WORK STEPS'!D$2:E$39,2,TRUE)))


Thank You

Scott

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default changing time formula from 16 hour days to 24

I do need to go 24 hours per day but only until Saturday 1:00Am and start
again on Monday at 8:00AM. I really appreciate your help.

Thanks

Scott

"p45cal" wrote:

Right, the formula you gave allows steps to go on until 1am; if they would go
beyond 1am then that step starts at 8am next morning instead. A 17 hour day.
The formula you gave also takes into account weekends, with the last job
having to be finished before Saturday 1am, Monday 8am being the next start
time.

Do you still want weekends taken into acount? If so, is the end of the week
still 1am Saturday, and start of the week 8am Monday? Or is production now
truly 24/7?

--
p45cal


"Scott W" wrote:

Here is the actual time line sheet


Colum A B C D


Step # Description Move BY
10 IL MTL ISSUE 7/11/07 12:47 PM
20 IL COAT 7/11/07 1:17 PM
30 IL IMAGE 7/11/07 1:47 PM

Work Step Sheet

Colum A B C
Code Description Hour Code
Factor
10 IL MTL ISSUE 0.05 10 0 .020
20 Clean 0.05 20
0.020
30 Bake 1.50 30 0.020


Etc. I also have it linked to another work sheet which has holidys. Right
now since it is set up for 16 hour work days when it comes to 12:00AM the
next step does not start until 8:00am


Thanks
"p45cal" wrote:

and D20 ?!
--
p45cal


"Scott W" wrote:

In the work steps I have the foloowing information


Step Discription time code Factor
10 Issue Material 0.05 10 .02
20 Clean 0.05 20 .02
30 Bake 1.00 30 .04


In A21 it has the setp and D21 has the formula that I sent earlier.


Thanks


Scott

"Scott W" wrote:

I am using a spreed sheet that runs a time line as to how long something will
take to be produced. On a separate work sheet I have numbered the different
step and assigned how much time it takes to go through each step. All someone
needs to do is enter in all of the steps that a part will go through and it
calculates how long it will take. My problem is that the formulas are based
on a 16 hour work day and not 24 hours. How can I change this?

Here is the formula

=IF(A21="","",IF(AND((MOD(D20,1)+(VLOOKUP(A21,'WOR K
STEPS'!D$2:E$39,2,TRUE))0.041666),MOD(D20,1)<0.33 3333),IF(WEEKDAY(D20,1)=6,(ROUNDDOWN(D20,0)+2.3333 33+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE)),(ROUNDDOWN(D20,0)+0.33333 3+VLOOKUP(A21,'WORK
STEPS'!D$2:E$39,2,TRUE))),D20+VLOOKUP(A21,'WORK STEPS'!D$2:E$39,2,TRUE)))


Thank You

Scott

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
24 hour clock formula for elapsed time between 1215 and 1630 Tader Excel Worksheet Functions 1 April 6th 09 05:23 PM
Formula to convert range of time into 1 hour increment Todd Excel Discussion (Misc queries) 5 November 6th 08 07:29 PM
Changing an axis to show time with hour intervals hollis78 Charts and Charting in Excel 3 October 8th 08 06:28 PM
Changing decimal time into 24 hour time and reverse Bobzter100 Excel Discussion (Misc queries) 4 January 25th 08 11:38 AM
Time calculations and additional 24 hour days Mark G Excel Worksheet Functions 2 December 29th 05 08:39 PM


All times are GMT +1. The time now is 06:05 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"