Averaging Question

RLJ

Active Member
Joined
Mar 15, 2011
Messages
417
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet that I am trying to get an average for for how long it takes to do somthing. The spreadsheet has the start time, stop time and a total number for how many units were completed during the time period.

I have in cell G4 the total hours worked from subtracting E4-C4. In Cell H4 I have the total number of units completed.

Now what I need is to have the average amount of time it took to complete each unit.

So if my total time worked was 3hrs (180 minutes) and the total Number of units completed is 150, I need to see the average of 0.8 units per minute.

My problem is I can't simply divide the cells, because it comes up with an erroneous value since the Total Hours is in a time format and the total number of units is in a number format.

What can I do to accomplish this? It seems like I need to have an intermediate cell that converts the 3 hours to 180 minutes as a number to divide by.

Thanks for your help.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
I have a spreadsheet that I am trying to get an average for for how long it takes to do somthing. The spreadsheet has the start time, stop time and a total number for how many units were completed during the time period.

I have in cell G4 the total hours worked from subtracting E4-C4. In Cell H4 I have the total number of units completed.

Now what I need is to have the average amount of time it took to complete each unit.

So if my total time worked was 3hrs (180 minutes) and the total Number of units completed is 150, I need to see the average of 0.8 units per minute.

My problem is I can't simply divide the cells, because it comes up with an erroneous value since the Total Hours is in a time format and the total number of units is in a number format.

What can I do to accomplish this? It seems like I need to have an intermediate cell that converts the 3 hours to 180 minutes as a number to divide by.

Thanks for your help.
Try this...

To convert the total time to minutes:

=(end_time-start_time)*1440
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,903
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top