PC Review


Reply
Thread Tools Rate Thread

Convert Time to Number

 
 
CRBI
Guest
Posts: n/a
 
      26th Nov 2008
I know there's a simple solution here but I don't know what it is. I have a
spreadsheet where I have created from-to times in. This is going to loosely
serve as a time sheet. Now I want to calculate the difference between the
two times to get the number of hours worked, then I want to multiply that by
the rate of pay. I have the following fields: In Time, Out Time, Total
Hours, Total Pay. The problem is, I need to be able to convert the different
in the In Time and Out time to a number once it's calculated so as to
correctly multiply by the rate of pay. For instance, if the In Time is 9:00
and the Out time is 11:30, that calculates time-wise as 2.30 which is
correct. However, to multiply it by the rate of pay, it would need to read
2.50. Any help is appreciated. I'm sure there's a simple code I can insert
somewhere to do this conversion.
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      26th Nov 2008
With 9:00 in A1 and 11:30 in A2, in A3 enter:
=24*(A2-A1) and format as General.
--
Gary''s Student - gsnu200816
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert time stored as decimalised number to time format Emma Microsoft Excel New Users 1 29th Apr 2008 03:06 PM
convert number to time =?Utf-8?B?SlI=?= Microsoft Excel Worksheet Functions 7 3rd Apr 2006 07:02 PM
Convert a number to a time =?Utf-8?B?SmFjaw==?= Microsoft Excel Misc 4 19th Jan 2006 09:08 AM
convert decimal number to time : convert 1,59 (minutes, dec) to m =?Utf-8?B?YWdlbmRhOTUzMw==?= Microsoft Excel Misc 8 20th Jan 2005 10:24 PM
convert a number to time rbus Microsoft Excel Discussion 3 14th Jan 2005 05:37 PM


Features
 

Advertising
 

Newsgroups
 


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