Solved

how to calculate average speed per kilometer in xls with excel time format

Posted on 2011-09-12
9
704 Views
Last Modified: 2012-05-12
with what formula will i get the correct value for the average speed in the yellow coloured cell?
0
Comment
Question by:stmoritz
9 Comments
 
LVL 3

Expert Comment

by:exceter
ID: 36521527
AVG() not working for you ?
0
 

Author Comment

by:stmoritz
ID: 36521587
i have no clue to use average for this, as it is not an average between a similar type of data or numbers i need.
0
 

Author Comment

by:stmoritz
ID: 36521600
in decimals 15/17.8333*60   50.467km/h
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36521604
The basic formula for an average is to sum a list of entries and divide by the number of entries.  ??
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:stmoritz
ID: 36521610
not in this case
0
 
LVL 32

Accepted Solution

by:
Rob Henson earned 250 total points
ID: 36521646
What data do you have? A sample workbook would be good.

I assume you have Distance and Time take. If so the formula would be:

=(60/(C3*1440))*B3

Where:
C3 = time taken (in true time format)
1440 = Minutes in one day, multiplied by time formta converts minutes to decimal format
B3 = Distance

So as an example:
5 Km in 10 minutes - mental arithmetic says 10 minutes for 5 km therefore multiply by 60/10 to work out how far in an hour = 30

=(60/(00:10*1440))*5 = 30 KPH

If you then have multiple lines for which you want the average, use the AVERAGE function with the range of speeds.

Thanks
Rob H
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 36521661
By range of speeds, I mean cell range containing multiple speeds.

However, you might want effectively a weighted average.

See example below:

Dist      Time      Speed (using above formula)
5      00:10      30
6      00:20      18
8      00:15      32
12      00:10      72

            38  Average of 4 lines above

31      00:55      33.81818182
Sum of four lines and then Speed using above formula.

The second option gives a different answer. In theory the second answer is more accurate for the whole, ie if this were one journey broken down into four steps. If it were 4 journeys done by 4 different people, then the 38 is more accurate because the data is not directly related as such.

Thanks
Rob H
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 36521691
You could simplify this, Rob

=(60/(C3*1440))*B3

I'd use

=B3/C3/24

regards, barry
0
 

Author Closing Comment

by:stmoritz
ID: 36521700
sorry, i forgot to upload a sample sheet, but th is exactly what i've been looking for and it works prfectly! thanks to everybody!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now