Follow via:
RSS
Email Alert
Question
0 Votes
+ -

Excel

How do i filter duplicates from fresh data inputed into an existing data in excel worksheet
Tags: off-topic
26th Aug 2009

Answers (2)

0 Votes
+ -
Little More Clear
http://office.microsoft.com/en-us/excel/HP100739431033.aspx

If that doesn't do what you need you'll need to explain what kind and how the data is oriented. There are dozens of ways to deal with duplicate information.
26th Aug 2009
0 Votes
+ -
Filtering Out Excel Duplicates
Method 1: Merge the Import and Master data files including duplicates. Run the Advanced Data Filter specifying to copy "Unique Records Only" to a new location, then that becomes the new Master File. You may need to concatenate specific fields to a single matching key field if the records are not 100% duplicated.

More detail here:

http://en.allexperts.com/q/Excel-1059/merging-files-removing-duplicates.htm

Method 2: Export original data to a Master File, build a quick VB (or other) routine to sort Master and Import File into same sequence by dup data area key, then:

1) Read Master File
2) Write record to New File
3) Read and match Import File Record to New File Record just written based on dup data area key
- If no match write Import Record to new file
- If match, discard Import Record, read next Import Record, repeat until no match, then reset pointer so this record will be read again on next pass, and return to 1)
4) Repeat above sequence until end of Master file.
5) Write any remaining Import File records.

Personally I like the first way best. Even if you have to do this repeatedly method 1 could be built into a macro.

Method 2 would make sense if you need to build the solution into a process that just runs itself "hands off".



26th Aug 2009
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.