Get flash to fully experience Pearltrees
Question: In Microsoft Excel 2003/XP/2000/97, how do I convert a column with a date format to date only, no time? Answer: You can remove the time portion from a date by using the Year function , Month function , and Day function . We'll demonstrate with the example below: In this example, we have a date/time value in cell A1 and we'd like to remove the time portion from this value. In cell B1, we've entered the following formula: The order of how you use the Year, Month, and Day functions will depend on how you're formatting your date.
Many of us get into a situation when the dates in our data are coded as text. Excel does not recognise such text entries as date and we can not use them for any calculation purpose. However you can easily covert them to date by the help of excel formula.
How Excel Stores Dates And Times Excel stores dates and times as a number representing the number of days since 1900-Jan-0, plus a fractional portion of a 24 hour day: ddddd.tttttt . This is called a serial date , or serial date-time .
Adding Dates You can add some number of days to a date by simply using the =SUM function. Since Excel stores dates as a number of days, no further work is required. For example, to add 5 days to 1/1/98, in A1 , use =A1+5 , which gives 1/6/98. To add a number of months or years to a date, you first need to decompose the initial date into its year, month, and day components, add in the desired offset, and then have Excel put the components back together.
Occasionally, dates may become formatted and stored in cells as text. For example, you may have entered a date in a cell that was formatted as text, or the data might have been imported or pasted from an external data source as text. Dates that are formatted as text are left-aligned instead of right-aligned in a cell. With Error Checking turned on, text dates with two-digit years might also be marked with an error indicator