Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Changing year in a data cell
I pasted dates from a pdf into my sheet. The dates go back to 2007, however
Excel recognizes all the dates as 2009. How do I remove the year from these dates so I can add the correct year in its place and what is the best way to add a year to a month day only cell? Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Changing year in a data cell
If a1 has a date in 2009 and you want to change the year to 2007, use:
=date(2009,month(a1),day(a1)) Change the range as appropriate, and copy down. You can't "remove a year" from a date. Even a cell formatted for only month and day still has a year in the underlying data. Formatting a cell does not change its value. You can however, change it to a different date. Regards, Fred. "Jim" wrote in message ... I pasted dates from a pdf into my sheet. The dates go back to 2007, however Excel recognizes all the dates as 2009. How do I remove the year from these dates so I can add the correct year in its place and what is the best way to add a year to a month day only cell? Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Changing year in a data cell
"Perfect" thanks!!!
"Fred Smith" wrote: If a1 has a date in 2009 and you want to change the year to 2007, use: =date(2009,month(a1),day(a1)) Change the range as appropriate, and copy down. You can't "remove a year" from a date. Even a cell formatted for only month and day still has a year in the underlying data. Formatting a cell does not change its value. You can however, change it to a different date. Regards, Fred. "Jim" wrote in message ... I pasted dates from a pdf into my sheet. The dates go back to 2007, however Excel recognizes all the dates as 2009. How do I remove the year from these dates so I can add the correct year in its place and what is the best way to add a year to a month day only cell? Thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Changing year in a data cell
Glad I could help. Thanks for the feedback.
Regards, Fred. "Jim" wrote in message ... "Perfect" thanks!!! "Fred Smith" wrote: If a1 has a date in 2009 and you want to change the year to 2007, use: =date(2009,month(a1),day(a1)) Change the range as appropriate, and copy down. You can't "remove a year" from a date. Even a cell formatted for only month and day still has a year in the underlying data. Formatting a cell does not change its value. You can however, change it to a different date. Regards, Fred. "Jim" wrote in message ... I pasted dates from a pdf into my sheet. The dates go back to 2007, however Excel recognizes all the dates as 2009. How do I remove the year from these dates so I can add the correct year in its place and what is the best way to add a year to a month day only cell? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
chart in one cell showing data for past year | Charts and Charting in Excel | |||
Changing background colour when changing data in a cell | Excel Discussion (Misc queries) | |||
How do I crate a function for week of year + year in same cell. | Excel Worksheet Functions | |||
Automatically changing Year | Excel Discussion (Misc queries) | |||
changing the year of a date | Excel Worksheet Functions |