ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I set up a formula for parts (or units) per hour? (https://www.excelbanter.com/excel-worksheet-functions/82983-how-do-i-set-up-formula-parts-units-per-hour.html)

Ender-DI

How do I set up a formula for parts (or units) per hour?
 
I'm trying to set up a spreadsheet that tracks total hours worked and total
units produced. Then I need to have a column that shows how many units per
hour were produced.

Currently, I have something like this:
Column A is in elapsed time [h]:mm
Column B is a Number with two decimal places
Column C divides Column B by Column A

However, I get strange results. For example:
Column A is 6:24:00
Column B is 13
Column C shows 120.00

13 parts in 6:24 hours should be something like 2.1666 parts per hour!
Please help!


Duke Carey

How do I set up a formula for parts (or units) per hour?
 
I think column C ought to be showing 48.75

You need to use the formula

=b1/(a1*24)



"Ender-DI" wrote:

I'm trying to set up a spreadsheet that tracks total hours worked and total
units produced. Then I need to have a column that shows how many units per
hour were produced.

Currently, I have something like this:
Column A is in elapsed time [h]:mm
Column B is a Number with two decimal places
Column C divides Column B by Column A

However, I get strange results. For example:
Column A is 6:24:00
Column B is 13
Column C shows 120.00

13 parts in 6:24 hours should be something like 2.1666 parts per hour!
Please help!


Ender-DI

How do I set up a formula for parts (or units) per hour?
 
If only 13 total parts were produced, how is it supposed to read 48.75 parts
per hour?

It took 6 hours, 24 minutes to produce 13 parts. I need to show that that
breaks down to 2.166 parts per hour.


I think column C ought to be showing 48.75

You need to use the formula

=b1/(a1*24)



Peo Sjoblom

How do I set up a formula for parts (or units) per hour?
 
With 13 in B1 and 6:24 in C1

=B1/(C1*24)

format result as general or else it will display as time

I get 2.03125 not 2.166


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"Ender-DI" wrote in message
...
If only 13 total parts were produced, how is it supposed to read 48.75
parts
per hour?

It took 6 hours, 24 minutes to produce 13 parts. I need to show that that
breaks down to 2.166 parts per hour.


I think column C ought to be showing 48.75

You need to use the formula

=b1/(a1*24)





William Horton

How do I set up a formula for parts (or units) per hour?
 
I believe Duke's formula is correct. However, it produces an answer of
2.03125 and not 48.75. Try the formula out and see what you get. You may
have to play with the formats of the cells. Ensure that the cell where the
answer goes is formatted as General or some sort of number format. Look
under Excel help for Time and you may learn more about how Excel calculates
with time and the issues you are having.

Hope this helps.

Bill Horton

"Ender-DI" wrote:

If only 13 total parts were produced, how is it supposed to read 48.75 parts
per hour?

It took 6 hours, 24 minutes to produce 13 parts. I need to show that that
breaks down to 2.166 parts per hour.


I think column C ought to be showing 48.75

You need to use the formula

=b1/(a1*24)



Ender-DI

How do I set up a formula for parts (or units) per hour?
 
Ok, it appears that you and Duke are correct (Peo as well, but for a
different result). I'm still not sure where Duke got 48.75.

I guess my next question is what is the significance of multiplying the
hours by 24?


"William Horton" wrote:

I believe Duke's formula is correct. However, it produces an answer of
2.03125 and not 48.75. Try the formula out and see what you get. You may
have to play with the formats of the cells. Ensure that the cell where the
answer goes is formatted as General or some sort of number format. Look
under Excel help for Time and you may learn more about how Excel calculates
with time and the issues you are having.

Hope this helps.

Bill Horton

"Ender-DI" wrote:

If only 13 total parts were produced, how is it supposed to read 48.75 parts
per hour?

It took 6 hours, 24 minutes to produce 13 parts. I need to show that that
breaks down to 2.166 parts per hour.


I think column C ought to be showing 48.75

You need to use the formula

=b1/(a1*24)



Peo Sjoblom

How do I set up a formula for parts (or units) per hour?
 
It's to convert the time value into a decimal value, 1 hour in excel = 1/24
that means if that you have 6:00 the underlying value is in fact 0.25 that
also means that if you divide 13/0.25 you will get 52 thus by converting
6:00 into 6.00 it will give you the correct value 13/6


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com




"Ender-DI" wrote in message
...
Ok, it appears that you and Duke are correct (Peo as well, but for a
different result). I'm still not sure where Duke got 48.75.

I guess my next question is what is the significance of multiplying the
hours by 24?


"William Horton" wrote:

I believe Duke's formula is correct. However, it produces an answer of
2.03125 and not 48.75. Try the formula out and see what you get. You
may
have to play with the formats of the cells. Ensure that the cell where
the
answer goes is formatted as General or some sort of number format. Look
under Excel help for Time and you may learn more about how Excel
calculates
with time and the issues you are having.

Hope this helps.

Bill Horton

"Ender-DI" wrote:

If only 13 total parts were produced, how is it supposed to read 48.75
parts
per hour?

It took 6 hours, 24 minutes to produce 13 parts. I need to show that
that
breaks down to 2.166 parts per hour.


I think column C ought to be showing 48.75

You need to use the formula

=b1/(a1*24)




Duke Carey

How do I set up a formula for parts (or units) per hour?
 
I could have been clearer - using your numbers col C should NOT have shown
120 (as your example stated), it should have shown 48.75. After multiplying
the time value by 24 to get actual hours, the answer should have been a
little over 2



"Ender-DI" wrote:

If only 13 total parts were produced, how is it supposed to read 48.75 parts
per hour?

It took 6 hours, 24 minutes to produce 13 parts. I need to show that that
breaks down to 2.166 parts per hour.


I think column C ought to be showing 48.75

You need to use the formula

=b1/(a1*24)



Duke Carey

How do I set up a formula for parts (or units) per hour?
 
48.75 is what your initial example should have shown in column C, not the 120
you actually stated. I pointed it out only because IF your division resulted
in 120 there was some other error in addition to what has been pointed out.

"Ender-DI" wrote:

Ok, it appears that you and Duke are correct (Peo as well, but for a
different result). I'm still not sure where Duke got 48.75.

I guess my next question is what is the significance of multiplying the
hours by 24?


"William Horton" wrote:

I believe Duke's formula is correct. However, it produces an answer of
2.03125 and not 48.75. Try the formula out and see what you get. You may
have to play with the formats of the cells. Ensure that the cell where the
answer goes is formatted as General or some sort of number format. Look
under Excel help for Time and you may learn more about how Excel calculates
with time and the issues you are having.

Hope this helps.

Bill Horton

"Ender-DI" wrote:

If only 13 total parts were produced, how is it supposed to read 48.75 parts
per hour?

It took 6 hours, 24 minutes to produce 13 parts. I need to show that that
breaks down to 2.166 parts per hour.


I think column C ought to be showing 48.75

You need to use the formula

=b1/(a1*24)


Ender-DI

How do I set up a formula for parts (or units) per hour?
 
Oh, ok. I misunderstood what you had typed. My mistake. I have no idea
why it was giving me 120.00.

I still don't understand why you have to multiply the time by 24hours. I
entered the value in hours. 6hours. Why doesn't 13/6:24 (B2/B1) give me
the 2.03?


"Duke Carey" wrote:

I could have been clearer - using your numbers col C should NOT have shown
120 (as your example stated), it should have shown 48.75. After multiplying
the time value by 24 to get actual hours, the answer should have been a
little over 2



Duke Carey

How do I set up a formula for parts (or units) per hour?
 
Because Excel stores time as a fraction of a day. Reformat your cell to
general and you'll see that 6 hours & 24 minutes is something just a little
higher than 1 quarter of a day: .2666667 So, if you divide 13 by that
number you get a result of 48.75
"Ender-DI" wrote:

Oh, ok. I misunderstood what you had typed. My mistake. I have no idea
why it was giving me 120.00.

I still don't understand why you have to multiply the time by 24hours. I
entered the value in hours. 6hours. Why doesn't 13/6:24 (B2/B1) give me
the 2.03?


"Duke Carey" wrote:

I could have been clearer - using your numbers col C should NOT have shown
120 (as your example stated), it should have shown 48.75. After multiplying
the time value by 24 to get actual hours, the answer should have been a
little over 2




All times are GMT +1. The time now is 11:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com