LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Find and Delete Duplicate entries

I have a spreadsheet containing various columns of data

A B C D E F etc.
Agr no. Amount N/A N/A N/A N/A etc.

1 1 etc.
1 3
1 -1
7 2
8 4
8 -4
12 -13
12 13
12 13
12 -13
12 -7
13 2
17 4
18 1

The information in the other columns is not important, but I am looking for
a formula or macro that will automatically search for duplicates
(indefininate number of duplicates) in column A and and sum each 'AGR NO's'
corresponding values in column B and the put it on one line with all the
other information in the other columns also put to one line. The other
information in the other columns is the same for each of the duplicates.
Further if the sum of the duplicates is ZERO then it will just delete all the
information for the duplicates so they are completely removed. The page is up
to 10000 down so takes forever to manually source out duplicates.

The example above would ideally end up looking like,

A B C D E F etc.
Agr no. Amount N/A N/A N/A N/A etc.

1 3
7 2
12 -7
13 2
17 4
18 1

Sorry if this is a bit complex, but if anyone could help that would be
brilliant.

kind regards

Barry Walker

 
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
Delete duplicate and original entries in excel [email protected] Excel Discussion (Misc queries) 3 April 30th 07 06:48 AM
How do I delete duplicate entries in excel? antieal New Users to Excel 1 December 8th 05 02:39 PM
find duplicate entries and delete them? Agnitoood Excel Worksheet Functions 1 February 28th 05 10:53 AM
How do I delete duplicate entries? Chris Mitchell Excel Worksheet Functions 3 November 4th 04 02:43 PM
Add numbers for duplicate entries then delete Chillygoose Excel Worksheet Functions 1 November 2nd 04 04:35 PM


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