Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default MS EXCEL as list Manager

I want to merge an address list in Excel from two
different years, being able to not replicate names that
are the same on both years. I want to use the most
recent year on duplicate addresses. Any help would be
appreciated. Thanks Bob
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default MS EXCEL as list Manager

Try this:
Assumes ALL names in Col A and ALL dates in Col B

Sub HighestDate()
For i = Cells(Rows.Count, "A").End(xlUp).Row To 1 Step -1
If Cells(i, 1) = Cells(i + 1, 1) Then
If Cells(i + 1, 2) Cells(i, 2) Then
Rows(i).Delete
Else: Rows(i + 1).Delete
End If
End If
Next
End Sub


--
Don Guillett
SalesAid Software
Granite Shoals, TX

"Bob Garcia" wrote in message
...
I want to merge an address list in Excel from two
different years, being able to not replicate names that
are the same on both years. I want to use the most
recent year on duplicate addresses. Any help would be
appreciated. Thanks Bob



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default MS EXCEL as list Manager



Thanks Bob

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
E*TRADE EXCEL MANAGER OIL4GOLD Excel Discussion (Misc queries) 0 August 11th 09 07:14 PM
Excel Name Manager pretz New Users to Excel 1 December 14th 08 09:31 AM
List Manager Adminservices Excel Worksheet Functions 1 March 28th 07 11:00 PM
Excel Report Manager Add-in Dave Excel Discussion (Misc queries) 1 January 25th 07 03:48 AM
How do I use the Report Manager add-in in Excel 97? Charles Excel Discussion (Misc queries) 1 December 13th 05 11:50 PM


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