Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Filtering Unique Customers

I have more than 30 thousand records in a sheet with name and address1,
address2..... to address 5 in different columns. i want to filter and
identify with red colur fill, the duplicate records where name, address1
........ address5 matches. Either VBA or UDF will sort out my problem.

Thanks in Advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Filtering Unique Customers

One venture using a helper col to flag duplicates (predicated by 6 cols as
per post) for autofilter ..

Assume source data in cols A to F, from row2 down
Set the calc mode to manual first (Tools Options Calculation tab)

Put in G2:
=IF(COUNTA(A2:F2)=0,"",IF(SUMPRODUCT((A$2:A2=A2)*( B$2:B2=B2)*(C$2:C2=C2)*(D$2:D2=D2)*(E$2:E2=E2)*(F$ 2:F2=F2))1,"X",""))
Copy down to last row of data, G30001?. Press F9 to calc. When calc
completes (it would take some time), select col G and do an "in-place" copy n
paste special as values. Then do an autofilter on col G, filter out "X".
These will be the duplicate lines.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"vijaydsk1970" wrote:
I have more than 30 thousand records in a sheet with name and address1,
address2..... to address 5 in different columns. i want to filter and
identify with red colur fill, the duplicate records where name, address1
....... address5 matches. Either VBA or UDF will sort out my problem.

Thanks in Advance

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
Flitering for unique records in Col B based on filtering in Col A masik Excel Discussion (Misc queries) 1 May 19th 07 09:47 PM
filtering unique records ajit Ajit Munj Excel Discussion (Misc queries) 0 May 19th 07 03:28 PM
filtering unique data kuansheng Excel Worksheet Functions 5 May 4th 06 01:50 AM
filtering unique in multiple columns umniy Excel Worksheet Functions 4 March 9th 06 01:06 PM
filtering for unique records KG Excel Discussion (Misc queries) 7 August 13th 05 06:07 PM


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