Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default 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
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
chart in one cell showing data for past year SVA Charts and Charting in Excel 1 January 18th 09 07:51 PM
Changing background colour when changing data in a cell Paoul Excel Discussion (Misc queries) 7 December 26th 08 07:25 AM
How do I crate a function for week of year + year in same cell. patty ann Excel Worksheet Functions 1 March 16th 08 06:34 PM
Automatically changing Year archergirl2000 Excel Discussion (Misc queries) 3 May 15th 06 08:59 PM
changing the year of a date zapszipszops Excel Worksheet Functions 2 April 14th 06 04:57 AM


All times are GMT +1. The time now is 02:50 PM.

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

About Us

"It's about Microsoft Excel"