how do calculate elasped time

N

Nolan Holloway

I want to use the now function to calculate elasped time. For example, I
leave work at 3:45pm Using the now function, what is the difference between
the current time and when I have to leave?
 
N

Nolan Holloway

Next part. I need to shift the cells
J1=Current time
J14=End time
In h:mm AM/PM format
The formula needs to be in cell M12

Bernard Liengme said:
With future time in A1, use =B1-MOD(NOW(),1) to find the time between then
and now. Might need to format the cell with [h]:mm
NOW returns the date and the time. Excel stores this info as a serial number
starting with 1/1/1900. Days are the integer part, while time is the
fractional part; MOD(x,1) returns the fractional part of x.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

Nolan Holloway said:
I want to use the now function to calculate elasped time. For example, I
leave work at 3:45pm Using the now function, what is the difference
between
the current time and when I have to leave?
 
L

Luke M

In M12:
=J14-MOD(J1,1)

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


Nolan Holloway said:
Next part. I need to shift the cells
J1=Current time
J14=End time
In h:mm AM/PM format
The formula needs to be in cell M12

Bernard Liengme said:
With future time in A1, use =B1-MOD(NOW(),1) to find the time between then
and now. Might need to format the cell with [h]:mm
NOW returns the date and the time. Excel stores this info as a serial number
starting with 1/1/1900. Days are the integer part, while time is the
fractional part; MOD(x,1) returns the fractional part of x.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

Nolan Holloway said:
I want to use the now function to calculate elasped time. For example, I
leave work at 3:45pm Using the now function, what is the difference
between
the current time and when I have to leave?
 

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