Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
On Tue, 2 Apr 2013 15:51:52 +0000, Satishwin123 wrote:
Hi, I want to find the difference in date from the below dates in the form yyyy-mm-dd Eg: Start date = 1980-02-22 End date = 1966-11-29 Result should be in yyyy-mm-dd format. Pl.help. Thanks Satish./ In Excel, "real" dates are stored as serial numbers with 1 = 1 Jan 1900. You can format the cell to display the date however you wish, including yyyy-mm-dd. So to determine the difference between two dates, you merely subtract one from the other. That gives you a value in days, although you may have to change the format of the cell containing the formula. However, you will need to be more specific as to how you want the results displayed. Days and weeks are simple. But since neither years, nor months have a fixed number of days, you will need to provide unambiguous details as to how you wish these computations to be made. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
date in Cell to change colors if the date is beyond today's date | Excel Discussion (Misc queries) | |||
Making a date go red, if date passes todays date. | Excel Worksheet Functions | |||
Report Date - Date Recv = Days Late, but how to rid completed date | Excel Worksheet Functions | |||
copy date based on date -refer to date range | Excel Programming | |||
Date updates from worksheet to chart & changes date to a date series! Help!! | Charts and Charting in Excel |