I have an excel spreadsheet. The first two lines are duplicates, except for a FROM DATE. So, 4 columns are the same, but the 5th column (from date column) is different. The 6th column is an empty field (Thru date).
It looks like this:
Col A Col B Col C Col D From Date Thru Date
What I would like to do is a systematic way of adding the "end of the year date" (ie 12/31/08 or 09 or 10, etc) when the FROM DATE of one Dupe line is LESS than the FROM date of the other Dupe line.
So one line will have a FROM DATE of 01/01/2009 and the other Dupe line will be 05/31/2006. I want to populate the THRU date on the earlier FROM DATE (05/31/2006) with a date of 12/31/2006 (because this is the day before the "greater" FROM date). That make sense?
I was trying this in MS Access and couldn't figure it out. Any help would be greatly appreciated!
It looks like this:
Col A Col B Col C Col D From Date Thru Date
What I would like to do is a systematic way of adding the "end of the year date" (ie 12/31/08 or 09 or 10, etc) when the FROM DATE of one Dupe line is LESS than the FROM date of the other Dupe line.
So one line will have a FROM DATE of 01/01/2009 and the other Dupe line will be 05/31/2006. I want to populate the THRU date on the earlier FROM DATE (05/31/2006) with a date of 12/31/2006 (because this is the day before the "greater" FROM date). That make sense?
I was trying this in MS Access and couldn't figure it out. Any help would be greatly appreciated!