Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subtracting dates and times in Excel

Status
Not open for further replies.

bdjb

Technical User
Joined
Oct 29, 2002
Messages
292
Location
US
Hello,
I have a "last modified date and time" and I would like to be able to subtract it from the current date/time to get an amount of time since the last modification. When I try to just subtract the cells, I get the error #value.
Anyone have an idea of a formula that would work?

Thank you very much,
Bob
 
If Last Modified date and time is in A1 then
=Now()-A1
will work
Rgds
Geoff
"Some cause happiness wherever they go; others whenever they go."
-Oscar Wilde
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top