Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Format dates & add ten years to date

Assuming your date is in A1 here is one way. This converts that number into a
normal XL date...

=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))

to add 10 years

=DATE(LEFT(A1,4) + 10,MID(A1,5,2),RIGHT(A1,2))

I don't understand the last part of the question?
--
HTH...

Jim Thomlinson


"Jason K" wrote:

I imported a report into excel, in the report the effective dates are
yearmonthday (20090815). I would like to change these to a normal date
format. I also need to in a seperate column show the date with ten years
added, also if as of this month the effective date is within ten years or
outside ten years.

Any help would be greatly appreciated

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
change date format without retyping dates sarajane82 Excel Worksheet Functions 3 April 22nd 09 03:49 PM
Changing dates to date format Tigerxl Excel Discussion (Misc queries) 5 April 3rd 09 10:26 PM
Text dates to date format jenn Excel Discussion (Misc queries) 6 June 4th 07 06:17 PM
How do I subtract dates to get a number in years or years & month jude Excel Discussion (Misc queries) 2 August 25th 06 08:02 PM
Compare dates (one cell not in date format) craigcsb Excel Discussion (Misc queries) 5 June 28th 05 05:07 PM


All times are GMT +1. The time now is 12:43 PM.

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

About Us

"It's about Microsoft Excel"