Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default how do i sort a spread sheet and remove duplication

I need to sort a large spreadsheet - by the column of account numbers - (over
50K) with duplications. I need to remove the duplications and keep only 1
entry of each account
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how do i sort a spread sheet and remove duplication

One way is to use autofilter on a helper col which flags the duplicates

Assume account numbers running in A2 down
Insert a new col B (if required)
Put in B2:
=IF(COUNTIF(A$2:A2,A2)1,"x","")
Copy B2 down to the last row of data in col A. Col B will flag all duplicate
account numbers found in col A with an "x". Then apply autofilter on col B,
select: "x" from the droplist in B1. Select all the filtered rows,
right-click Delete rows. Remove autofilter.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Shiraz" wrote:
I need to sort a large spreadsheet - by the column of account numbers - (over
50K) with duplications. I need to remove the duplications and keep only 1
entry of each account

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default how do i sort a spread sheet and remove duplication

datafilteradvanced filterunique

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Shiraz" wrote in message
...
I need to sort a large spreadsheet - by the column of account numbers -
(over
50K) with duplications. I need to remove the duplications and keep only 1
entry of each account


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default how do i sort a spread sheet and remove duplication

DataFilterAdvanced FilterUnique records only will return the uniques which
you can copy to another location.

For more on this see Debra Dalgleish's site

http://www.contextures.on.ca/xladvfi....html#FilterUR


Gord Dibben MS Excel MVP

On Wed, 28 Nov 2007 06:03:02 -0800, Shiraz
wrote:

I need to sort a large spreadsheet - by the column of account numbers - (over
50K) with duplications. I need to remove the duplications and keep only 1
entry of each account


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
HOW DO I REMOVE #VALUE FROM MY SPREAD SHEET Jas New Users to Excel 2 April 4th 23 12:59 PM
How do I remove an unwanted check box from an Excel spread sheet? Brondero Excel Discussion (Misc queries) 6 September 8th 06 02:42 AM
Remove Duplication from Validation List? [email protected] Excel Discussion (Misc queries) 1 January 17th 06 02:27 AM
Remove duplication from validation list? [email protected] Excel Worksheet Functions 1 January 17th 06 02:15 AM
How do I sort entire spread sheet. Names w/data rstampa Excel Worksheet Functions 4 September 13th 05 03:10 AM


All times are GMT +1. The time now is 09:14 AM.

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"