LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Adding and subtracting dates

I am trying to subtract one date from another and have the answer display as
yy/mm/dd. For example: If I subtract 2/18/1985 from 8/1/2006, the answer
should be 21/5/13 (21 years, 5 months, 13 days). For some reason, when I put
in the formula, it returns the answer 21/6/12 (21 years, 6 months, 12 days).
The formula I am putting in is +A1-B1 where A1=8/1/2006 and B1=2/18/1985. I
formatted the cell with the answer to a custom format of yy/mm/dd. I would
appreciate any suggestions.
 
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
formula for adding / subtracting two columns . jm New Users to Excel 2 May 24th 06 10:50 AM
Rounding Error when adding or subtracting two cells mtheo Excel Worksheet Functions 2 February 28th 06 06:51 PM
How to display 5.5 hours instead of 5.30 when adding \ subtracting excel novice Excel Discussion (Misc queries) 4 November 26th 05 04:22 AM
trouble with subtracting cells and adding text... traybuddy Excel Discussion (Misc queries) 5 October 14th 05 01:20 PM
Adding Subtracting Time Formula-Horse Racing SMDIYDLI Excel Discussion (Misc queries) 1 December 13th 04 09:27 PM


All times are GMT +1. The time now is 05:21 AM.

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

About Us

"It's about Microsoft Excel"