Time Formula Help

D

David McCowan

I'm wanting a formula where I can calculate leg time for a Flight Planner
log sheet.

EXAMPLE:
Distance (5 Miles)
Ground speed (76 knots per hour)

PROBLEM:
The correct answer is 3:56, however, I don't know how to get this using
an excel formula.

Any help would be appreciated.

-Dave
 
J

JE McGimpsey

Hmmm... I get 3:26.

1 knot (knots per hour is acceleration, not speed) is 1.1508 mph.

5 miles / (76*1.1508) = 0.05717 hours, or 0:03:26 when converted to XL
time by dividing by 24 (to get fractional days) and formatting as time.

For a single cell calculation:

A1: 5
A2: 76
A3: =A1/(A2*1.1508*24)

format A3 as a time.
 
P

Paul Berkowitz

I'm wanting a formula where I can calculate leg time for a Flight Planner
log sheet.

EXAMPLE:
Distance (5 Miles)
Ground speed (76 knots per hour)

PROBLEM:
The correct answer is 3:56, however, I don't know how to get this using
an excel formula.
That answer is only correct if you actually mean '76 MILES per hour' or '5
KNOTS': i.e. only if the distance units are the same. If you also have to
deal with two types of units - statute miles (5280 ft.) and knots (6076 ft.)
- then you'll need to convert one to the other as well. For now I'll assume
you are using either statute or nautical (knot) miles consistently.

In column A enter 5.
In column B enter 76.
In column C enter =(A1/B1)/24

and press return. Select C1.

In Format/Cells, choose Custom | mm:ss if you really want just minutes and
seconds (03:57) or enter your own custom format "m:ss" (no quotes) if you
really don't want the leading zero (3:57). If you want hours as well, should
it go over an hour, you'd need h:mm:ss - which is the same as Time |
37:30:55


Choosing any of these time formats converts a number as if it were a
fraction of a day into the time format you choose. Since your distance in
miles / speed in miles per hour gives a result in terms of hours you need to
divide by 24 to get it as a fraction of a day.

To apply this formula to a set of values in columns A and B, apply that
same Time or Custom choice in Format/Cells to the whole of column C after
selecting it. After entering all your data in columns A and B, select column
C down as far as A and B have data and pick Edit/Fill/Down.

--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
D

David McCowan

Thanks Paul everything work. :)


That answer is only correct if you actually mean '76 MILES per hour' or '5
KNOTS': i.e. only if the distance units are the same. If you also have to
deal with two types of units - statute miles (5280 ft.) and knots (6076 ft.)
- then you'll need to convert one to the other as well. For now I'll assume
you are using either statute or nautical (knot) miles consistently.

In column A enter 5.
In column B enter 76.
In column C enter =(A1/B1)/24

and press return. Select C1.

In Format/Cells, choose Custom | mm:ss if you really want just minutes and
seconds (03:57) or enter your own custom format "m:ss" (no quotes) if you
really don't want the leading zero (3:57). If you want hours as well, should
it go over an hour, you'd need h:mm:ss - which is the same as Time |
37:30:55


Choosing any of these time formats converts a number as if it were a
fraction of a day into the time format you choose. Since your distance in
miles / speed in miles per hour gives a result in terms of hours you need to
divide by 24 to get it as a fraction of a day.

To apply this formula to a set of values in columns A and B, apply that
same Time or Custom choice in Format/Cells to the whole of column C after
selecting it. After entering all your data in columns A and B, select column
C down as far as A and B have data and pick Edit/Fill/Down.
 
D

David McCowan

Paul suggestion worked. Thanks for your help. Didn't know about dividing by
24.

-Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top