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  

Calculate Days and Hours until a future day and time.



 
 
Thread Tools Display Modes
  #1  
Old October 2nd, 2004, 07:35 PM
Dan Mancuso
external usenet poster
 
Posts: n/a
Default Calculate Days and Hours until a future day and time.

How do I calculate the difference between the current date and time and a
future date and time. I want the sheet to insert the current date and time
(which I am able to do) and calculate the number of days, hours and minutes
until a fixed date and time in the future.

I can't separate the current time from the NOW() function.

Thanks,
  #4  
Old October 2nd, 2004, 11:43 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default

dd/mm/yyyy hh:mm:ss

--

HTH

RP

"Dan Mancuso" wrote in message
...
Thanks Ron,

How do I format the future date in A! with the time of the event on that

day?

Thanks again,

"Ron Rosenfeld" wrote:

On Sat, 2 Oct 2004 11:35:03 -0700, "Dan Mancuso" Dan
wrote:

How do I calculate the difference between the current date and time and

a
future date and time. I want the sheet to insert the current date and

time
(which I am able to do) and calculate the number of days, hours and

minutes
until a fixed date and time in the future.

I can't separate the current time from the NOW() function.

Thanks,


=INT(A1-NOW())&" days "&TEXT(MOD(A1-NOW(),1),"h"" hrs ""m"" mins""")


--ron



  #5  
Old October 3rd, 2004, 12:32 AM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default

On Sat, 2 Oct 2004 14:49:10 -0700, "Dan Mancuso"
wrote:

Thanks Ron,

How do I format the future date in A! with the time of the event on that day?

Thanks again,


Enter it as, for example, 5/25/05 8:15 A

and format it as

m/d/yyyy h:mm am/pm


--ron
  #6  
Old October 3rd, 2004, 01:43 AM
Dan Mancuso
external usenet poster
 
Posts: n/a
Default

Thanks, that's it.

"Ron Rosenfeld" wrote:

On Sat, 2 Oct 2004 14:49:10 -0700, "Dan Mancuso"
wrote:

Thanks Ron,

How do I format the future date in A! with the time of the event on that day?

Thanks again,


Enter it as, for example, 5/25/05 8:15 A

and format it as

m/d/yyyy h:mm am/pm


--ron

  #7  
Old October 3rd, 2004, 03:31 AM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default

On Sat, 2 Oct 2004 17:43:04 -0700, "Dan Mancuso"
wrote:

Thanks, that's it.


You're welcome. Glad to help.


--ron
 




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 02:13 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.