Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Change time h:mm to a decimal number based on hours

We have a spreadsheet with columns for time started and time finished. The
data shows up as hh:mm. A third column is the difference between these first
two, showing total hours and minutes spent on the task. How can I show the
data in the third column as hours to two decimal places?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Change time h:mm to a decimal number based on hours

Hi,

Just multiply it by 24 and format as a regular number

Cheers

"Snort5525" wrote:

We have a spreadsheet with columns for time started and time finished. The
data shows up as hh:mm. A third column is the difference between these first
two, showing total hours and minutes spent on the task. How can I show the
data in the third column as hours to two decimal places?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Change time h:mm to a decimal number based on hours

Try this:

=(B1-A1)*24

and format the cell as Number with 2dp. Copy down as necessary.

Hope this helps.

Pete



On May 31, 4:56 pm, Snort5525
wrote:
We have a spreadsheet with columns for time started and time finished. The
data shows up as hh:mm. A third column is the difference between these first
two, showing total hours and minutes spent on the task. How can I show the
data in the third column as hours to two decimal places?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Change time h:mm to a decimal number based on hours



=ROUND((Finish-Start)*24,2)

"Snort5525" wrote:

We have a spreadsheet with columns for time started and time finished. The
data shows up as hh:mm. A third column is the difference between these first
two, showing total hours and minutes spent on the task. How can I show the
data in the third column as hours to two decimal places?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Change time h:mm to a decimal number based on hours

Thanks to all for their help! I did not anticipate such a quick response, and
you saved me a lot of time.

"Pete_UK" wrote:

Try this:

=(B1-A1)*24

and format the cell as Number with 2dp. Copy down as necessary.

Hope this helps.

Pete



On May 31, 4:56 pm, Snort5525
wrote:
We have a spreadsheet with columns for time started and time finished. The
data shows up as hh:mm. A third column is the difference between these first
two, showing total hours and minutes spent on the task. How can I show the
data in the third column as hours to two decimal places?






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Change time h:mm to a decimal number based on hours

Thank you for your assistance.
Your quick answer was right on point.

"DazzaData" wrote:

Hi,

Just multiply it by 24 and format as a regular number

Cheers

"Snort5525" wrote:

We have a spreadsheet with columns for time started and time finished. The
data shows up as hh:mm. A third column is the difference between these first
two, showing total hours and minutes spent on the task. How can I show the
data in the third column as hours to two decimal places?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Change time h:mm to a decimal number based on hours

Your help is greatly appreciated.

"Toppers" wrote:



=ROUND((Finish-Start)*24,2)

"Snort5525" wrote:

We have a spreadsheet with columns for time started and time finished. The
data shows up as hh:mm. A third column is the difference between these first
two, showing total hours and minutes spent on the task. How can I show the
data in the third column as hours to two decimal places?

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
Convert dd:hr:mn:ss to Decimal number of hours Virginia Excel Discussion (Misc queries) 1 April 17th 07 04:56 AM
How can I change time format to decimal without losing hours? Bushman Excel Discussion (Misc queries) 2 July 16th 06 04:31 PM
Converting a decimal time into hours and minutes LizHough Excel Worksheet Functions 1 July 4th 06 11:00 AM
converting a decimal number to hours and seconds jeda67 Excel Worksheet Functions 1 December 4th 05 09:35 AM
how to change a decimal number (minutes) into hours and minutes? Erwin Excel Discussion (Misc queries) 2 November 5th 05 04:22 PM


All times are GMT +1. The time now is 10:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"