#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Convert Time to Days

Hi there,

I need to convert 81:30 hrs to 10 days & 06:30 hrs. All formulas work
as 1day=24:00hrs....but I need 1day=07:30hrs..What I'm doing is time
sheet for my CompTime and i need to calculate - total CompTime Hrs =
How many working days...1working day = 07:30Hrs...

How can I do this...Any idea..Please help!!!


Thanks in advance,
D.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Convert Time to Days

Try this:

A1 = 81:30
B1 = 7:30

=INT(A1/B1)+A1-INT(A1/B1)*B1

This will return a numeric value that can be formatted as custom d h:m

Note that this custom format will only work for up to 31 days. If you will
exceed 31 days then you'd either have to split the results into 2 cells
(days in 1 cell, time in 1 cell) or modify the formula to return a text
string.

--
Biff
Microsoft Excel MVP


"Dzoker" wrote in message
...
Hi there,

I need to convert 81:30 hrs to 10 days & 06:30 hrs. All formulas work
as 1day=24:00hrs....but I need 1day=07:30hrs..What I'm doing is time
sheet for my CompTime and i need to calculate - total CompTime Hrs =
How many working days...1working day = 07:30Hrs...

How can I do this...Any idea..Please help!!!


Thanks in advance,
D.



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
how do i convert a number of days to years, months & days? SafetyLen Excel Discussion (Misc queries) 1 August 23rd 07 01:34 AM
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
convert Days to Years, Months, Days Klaudebou Excel Discussion (Misc queries) 3 December 29th 05 10:33 PM


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