#1   Report Post  
Posted to microsoft.public.excel.misc
Jason - MR
 
Posts: n/a
Default calculating time

I've got a couple projects that require me to figure out how long we have
owned an asset. I have acquisition & disposal dates but I can't figure out
the formula to convert these into any form of days or months or years. Any
suggestions? My date columns are in the format 08/28/99. Thanks. Jason.
  #2   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default calculating time


You can simply subtract the acquisition date from the disposal date. If
they're in A1 & B1 repectively

=B1-A1

format as general


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=505177

  #3   Report Post  
Posted to microsoft.public.excel.misc
Jason - MR
 
Posts: n/a
Default calculating time

I've tried that, all I get is another date. For example where I subtract
12/31/05 -11/30/03, I get 12/31/02.

These dates are imported from another program and appear date formatted, but
the subtraction doesn't work.

Thanks. Jason.

"daddylonglegs" wrote:


You can simply subtract the acquisition date from the disposal date. If
they're in A1 & B1 repectively

=B1-A1

format as general


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=505177


  #4   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default calculating time


It's all in the formatting.....

For the cell with your formula e.g. =B1-A1,use Format Cells Number
General and you should see a result of 762


Because you are subtracting dates excel assumes, wrongly, that you want
the result in a date format - because excel's dates start at 1st January
1900 if you count 762 days from that date you get 31st January 1902 so
your result showed as 01/31/02


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=505177

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculating time T.K.RAJU via OfficeKB.com Excel Discussion (Misc queries) 3 December 27th 05 12:22 PM
calculating time bizyb New Users to Excel 5 December 19th 05 08:31 PM
help with calculating overtime in a time sheet jongyrocka Excel Discussion (Misc queries) 13 December 10th 05 09:36 PM
Calculating a rate for elapsed time? Keith Excel Discussion (Misc queries) 8 May 18th 05 09:14 PM
calculating with a time format cell Mahnaz Excel Worksheet Functions 1 December 13th 04 10:21 AM


All times are GMT +1. The time now is 09:19 PM.

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

About Us

"It's about Microsoft Excel"