LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Date programming - Absolutely confused.

Hi

I have a spreadsheet with a thousand or so records in it. Column H from row 3 onwards is the date in which particular companies were formed. So, column H holds a thousand plus different dates.

There is nothing in column I yet but what I would like to be able to do is to insert a new date into the cell for each record - BUT, the date shown myust be based on 10 year anniversaries of the formation of each company but only showing the next 10 year anniversary AFTER TODAYS date.

For example, if a date in one of the rows in column H is 25/07/1953, I would like the value added in the cell next to it to be 25/07/2013, not 25/07/1963.

Not all companies were formed in 1953 so the macro or programme will need to be able to differentiate between the years.

Below is an example of how it may start and how I would like it to look after running the programme.

Acme 27/05/1953
Test 13/09/1975
Another 16/10/1968

And after running the macro or program

Acme 27/05/1953 27/05/2013
Test 13/09/1975 13/09/2005
Another 16/10/1968 16/10/2008

As much information on how to achieve this would be greatly appreciated as I am not to familiar with programming.

It is not a problem if a new sheet is inserted when running the program in order to achieve this.

Thanks in advance

Malycom
 
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
read data from a cell absolutely Andrew Duncan Excel Worksheet Functions 4 July 4th 07 03:52 PM
confused about date format Frank Situmorang Excel Discussion (Misc queries) 8 April 26th 07 11:32 AM
Date programming MeMe Excel Worksheet Functions 2 January 16th 06 06:50 PM
Absolutely Stumped! Brett Excel Discussion (Misc queries) 18 February 27th 05 01:22 AM
Date Programming Dan E[_2_] Excel Programming 0 October 8th 03 05:59 PM


All times are GMT +1. The time now is 09:12 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"