Results 1 to 2 of 2
  1. #1
    sp3cialed is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Posts
    1

    Removing duplicates & printing uniques

    Hi everyone. I'm new to access. I currently have an excel sheet that is over 1 million rows of words. When I first began this job i didnt think i would need to work in Access or a DB, but now it seeems i do. I was wondering if i could get a quick tutorial doing something very simple.

    -I have a master excel sheet (A)
    -then over a few days i collect a few tens of thousand more keywords and put it into sheet (B)

    All I want to do is:
    -compare sheet A with sheet B
    -remove words in B if already in A


    -print out the unique words in sheet B (non duplicates)
    -Lastly uniques of sheet B added to A

    Any help would be awesome!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Remove duplicate words from sheet B, check this article http://office.microsoft.com/en-us/ex...001034626.aspx

    Also refer to this article http://support.microsoft.com/kb/213367

    Assuming both sheets are in the same workbook and the data are in column A of both sheets.
    Copy this formula to cell B1 of sheet B then copy it down the column:
    =IF(ISERROR(MATCH(A1,Sheet1!$A:$A,0)),"No","Yes")

    Now sort or filter sheet B so rows with No are all together. Then copy/paste to sheet A.

    Anything more sophisticated will require VBA code.

    Do you want this data in Excel or Access? Excel has row limit of 1048576. Access is limited by storage capacity of 2GB.

    Import the sheets to Access tables and different manipulations can produce the desired results.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Need help removing duplicates
    By warlock in forum Queries
    Replies: 1
    Last Post: 04-14-2011, 03:44 PM
  2. Queries - Removing <Div Tags>
    By 9944pdx in forum Queries
    Replies: 5
    Last Post: 02-08-2011, 01:48 PM
  3. Removing Trailing Numbers
    By swagger18 in forum Programming
    Replies: 3
    Last Post: 01-28-2011, 02:39 AM
  4. Removing parameters
    By katrinanyc926 in forum Reports
    Replies: 1
    Last Post: 08-04-2010, 04:24 PM
  5. removing record from form
    By rsearing in forum Programming
    Replies: 7
    Last Post: 05-14-2009, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums