Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 343
Default Using time in a formula

I need to calculate Miles Per Hour. I hav a worksheet where a start and end
time is entered. Then I subtract End time from Start time to get the elapsed
time:

14:50 - 14:25 which returns 0:25 (or 25 minutes)

How can I now use the returned result to divide distance by time?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Using time in a formula

Patrick,

Multiply the elapsed time by 24 to get time in hours. Assuming C3 holds the
elapsed time and C4 holds the distance travelled in miles.

=N(C4/(C3*24))



"Patrick C. Simonds" wrote in message
...
I need to calculate Miles Per Hour. I hav a worksheet where a start and end
time is entered. Then I subtract End time from Start time to get the
elapsed time:

14:50 - 14:25 which returns 0:25 (or 25 minutes)

How can I now use the returned result to divide distance by time?





----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Using time in a formula

You don't need the N() function. Just format the answer as General or
Number.
--
David Biddulph

"Vergel Adriano" wrote in message
...
Patrick,

Multiply the elapsed time by 24 to get time in hours. Assuming C3 holds
the elapsed time and C4 holds the distance travelled in miles.

=N(C4/(C3*24))


"Patrick C. Simonds" wrote in message
...
I need to calculate Miles Per Hour. I hav a worksheet where a start and
end time is entered. Then I subtract End time from Start time to get the
elapsed time:

14:50 - 14:25 which returns 0:25 (or 25 minutes)

How can I now use the returned result to divide distance by time?





----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption
=----



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
If formula for Time Ad Excel Discussion (Misc queries) 2 May 22nd 06 09:55 AM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
Help with time formula so the time will not change. Joker Excel Discussion (Misc queries) 1 February 17th 06 09:04 AM
How do I set up a formula on a time sheet to calculate time in 1/. gschmid Excel Discussion (Misc queries) 2 January 18th 05 01:48 PM
Time / Formula to look at time difference carl Excel Worksheet Functions 5 November 8th 04 06:59 PM


All times are GMT +1. The time now is 08:20 AM.

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"