A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Displaying a figure as days, hours and minutes



 
 
Thread Tools Display Modes
  #2  
Old January 16th, 2004, 02:27 PM
Norman Harker
external usenet poster
 
Posts: n/a
Default Displaying a figure as days, hours and minutes

Hi Ains!

One way that you should be able to understand easily:

=INT(H59/(60*7.5))& " days "&INT(MOD(H59,60*7.5)/60)& " hours
"&MOD(MOD(H59,60*7.5),60)&" minutes"

If H59 is 2025 it returns: 4 days 3 hours 45 minutes

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia

Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:35 PM.


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