Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Excel Time Calculation

Thread Tools
 
Search this Thread
 
Old 29th Jul 2005, 10:28
  #1 (permalink)  
Thread Starter
 
Join Date: Feb 2003
Location: Io
Posts: 420
Likes: 0
Received 0 Likes on 0 Posts
Excel Time Calculation

I need to divide an amount of hours, minutes and seconds by a value to get a per minute rate. I can't get it to work. I'm a complete thicko with MS Excel. Can anyone help?

Thanks in advance.
MF
Maxflyer is offline  
Old 29th Jul 2005, 11:38
  #2 (permalink)  

(a bear of little brain)
 
Join Date: Aug 2001
Location: 51 10 03.70N 2 58 37.15W
Age: 75
Posts: 273
Likes: 0
Received 0 Likes on 0 Posts
Format the cells with the cells (say column a) as a number and the cells with the time as 'hh:mm'. So we then have, say, column A formatted as num, 2 dec, and column b as hh:mm. In column c row 1 (or wherever) use the formula '=A1/(B1*1440)'.

(Results then would be, A1 = '40.00' (i.e. £40), B1= '1:30' (one and a half hours) C1 would then be '0.44' (i.e. 44p per minute).
MadsDad is offline  
Old 29th Jul 2005, 11:46
  #3 (permalink)  

Self Loathing Froggy
 
Join Date: Jun 2002
Location: elsewhere
Age: 18
Posts: 546
Likes: 0
Received 0 Likes on 0 Posts
MadsDad's suggestion is indeed quite right.
For pedagogy's sake, I would just like to explain why :
The unit time in Excel is the day (whichever format you use to display it), hence the 1440 factor = 24 hours x 60 minutes.
Bre901 is offline  
Old 29th Jul 2005, 12:24
  #4 (permalink)  
Thread Starter
 
Join Date: Feb 2003
Location: Io
Posts: 420
Likes: 0
Received 0 Likes on 0 Posts
Thanks guys.

Just the ticket.

MF
Maxflyer is offline  
Old 29th Jul 2005, 12:37
  #5 (permalink)  

(a bear of little brain)
 
Join Date: Aug 2001
Location: 51 10 03.70N 2 58 37.15W
Age: 75
Posts: 273
Likes: 0
Received 0 Likes on 0 Posts
Bre I should have put some comment about the 1440, didn't think to. Also the fact that the 'hh:mm' restricts the time to hours and minutes.

And, of course, if anyone wasnts to work out the cost/second the time format would need to be 'hh:mm:ss' (so now you've got seconds as well) and the multiplication would need to be (pause to use calculator) '*86400'.

(And if you want it per day, leave off the '*1440').
MadsDad is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.