Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default convert hours and minutes into days

I have a formula in a cell that adds up a bunch of hours and minutes and is
in the [h]:mm format, it gives me a total of 48:00

How do I get display that information, in another cell, and give me how many
days that is like, which would be 2 days
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default convert hours and minutes into days

One way:

XL stores times as fractional days, so multiply by 24 hrs/day:

A1: =SUM(....) <==== 48:00
A2: =A1*24 <==== 2

Format A2 as General, or your preferred Number format.

In article ,
Joshua wrote:

I have a formula in a cell that adds up a bunch of hours and minutes and is
in the [h]:mm format, it gives me a total of 48:00

How do I get display that information, in another cell, and give me how many
days that is like, which would be 2 days

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default convert hours and minutes into days

Simply change the format to include the days, as in:
d hh:mm
or, just:
d

Regards,
Fred.

"Joshua" wrote in message
...
I have a formula in a cell that adds up a bunch of hours and minutes and is
in the [h]:mm format, it gives me a total of 48:00

How do I get display that information, in another cell, and give me how
many
days that is like, which would be 2 days


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default convert hours and minutes into days

Just a caution -

That will work for sums less than 32 days, and only if your users are
guaranteed to only use the 1900 Date system.

The "d" format refers to the "day of the month".

In the 1900 system, the base date is 31 December 1899, so 1.000...
refers to 1 January 1900.

However, if your user is using the 1904 date system the base date is 1
January 1904, and 1.000.... is interpreted as 2 January 1904, so your
results will appear to be off by 1 day.

And of course, in either system, values greater than 31 will roll over
to February, etc.


In article ,
"Fred Smith" wrote:

Simply change the format to include the days, as in:
d hh:mm
or, just:
d

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default convert hours and minutes into days

Format as General or Number.
--
David Biddulph

Joshua wrote:
I have a formula in a cell that adds up a bunch of hours and minutes
and is in the [h]:mm format, it gives me a total of 48:00

How do I get display that information, in another cell, and give me
how many days that is like, which would be 2 days



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
converting Days Hours & minutes into just minutes in excel Six Sigma Blackbelt Excel Discussion (Misc queries) 5 April 28th 06 09:45 PM
How to convert an elapsed time in minutes to Days hours and minute Time Tracker Excel Discussion (Misc queries) 1 April 9th 06 03:40 AM
Convert days in decimal to days:hours:minutes Todd F. Excel Worksheet Functions 7 March 16th 06 07:17 PM
Convert decimal days to Days,hours, minutes Todd F. Excel Worksheet Functions 3 March 14th 06 03:38 PM
Problem converting Hours to Days, Hours, Minutes Zyzzx Excel Worksheet Functions 4 October 24th 05 04:19 PM


All times are GMT +1. The time now is 05:51 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"