Calculate Days and Hours until a future day and time.

D

Dan Mancuso

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,
 
R

Ron Rosenfeld

On Sat, 2 Oct 2004 11:35:03 -0700, "Dan Mancuso" <Dan
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
 
D

Dan Mancuso

Thanks Ron,

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

Thanks again,
 
B

Bob Phillips

dd/mm/yyyy hh:mm:ss

--

HTH

RP

Dan Mancuso said:
Thanks Ron,

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

Thanks again,
 
R

Ron Rosenfeld

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top