Can I remove serial number information from dates in Excel?
July 8, 2009 5:04 PM
Subscribe
I have an excel file with a column of dates, in the xx/xx/xxxx format. I would like to strip out the month and day information, so I could just have a column that shows the year, but excel's method of representing dates as serial numbers has foiled every attempt. Any ideas?
I have an excel file containing thousands of building permit records for about a 30-year period. There is a column listing the exact date of the permit issuance. I'd like to get rid of the month and day information, and just have a column of years, so I could sort the data by year only, regardless of the actual date in a given year. However, using formulas to strip off the month and day and copy the year into another column doesn't work as easily as I thought it would, because of Excel's serial number dating system.
I've tried reformatting the date cells to "text" or "general," and copying the information from the date column to another with a "paste special" of values only. Regardless, any formula I try acts on the underlying serial number information, not the date information as shown on screen.
I've used the google to no avail. I am also a relative Excel n00b, so I'm hoping there's some simple solution out there that I'm missing.
posted by M.C. Lo-Carb! to computers & internet (8 comments total)
2 users marked this as a favorite
posted by pombe at 5:06 PM on July 8