Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Importing Excel spreadsheet

Discussion in 'Information Technology' started by fervet, Jul 28, 2006.

  1. fervet

    fervet
    Expand Collapse
    Guest

    quick question... i have a spreadsheet in excel with only 2 columns, a ID no.
    and drawing number. Many of the drawing numbers are duplicates. how do i
    import this spreadsheet to a access table free of duplicate values for the
    drawing number?

    thank you.
     
  2. Loading...

    Similar Threads Forum Date
    Canada Sukhdeep Kaur Chohan of Brampton Wins PM Award for Teaching Excellence Breaking News Mar 5, 2014
    India Sikh Regiment's Passion for Excellence Breaking News May 19, 2013
    Leisure Excellence -skills-Attitude Business, Lifestyle & Leisure Feb 14, 2010
    Katha Excellent Katha by Bhai Ram Singh Kathavachak Videos Aug 8, 2009
    [SPN] Celebrating Five Years of Excellence & Learning Announcements Jun 3, 2009

  3. John Vinson

    John Vinson
    Expand Collapse
    Guest

    On Tue, 25 Jul 2006 11:35:12 -0700, fervet
    <fervet@discussions.microsoft.com> wrote:

    >quick question... i have a spreadsheet in excel with only 2 columns, a ID no.
    >and drawing number. Many of the drawing numbers are duplicates. how do i
    >import this spreadsheet to a access table free of duplicate values for the
    >drawing number?
    >
    >thank you.


    The simplest way would be to create an empty Access table with the
    same two columns, with a unique Index on the Drawing Number. Use
    File... Get External Data... Link to link to the spreadsheet, and run
    an append query from the linked table into the local table. You'll get
    a warning message that "x records were not appended due to key
    violations" - those are the duplicates.

    Note that the ID values associated with the second and subsequent
    duplicate drawing numbers will be lost.

    John W. Vinson[MVP]
     
  4. fervet

    fervet
    Expand Collapse
    Guest

    thanks a lot! that helps.

    "John Vinson" wrote:

    > On Tue, 25 Jul 2006 11:35:12 -0700, fervet
    > <fervet@discussions.microsoft.com> wrote:
    >
    > >quick question... i have a spreadsheet in excel with only 2 columns, a ID no.
    > >and drawing number. Many of the drawing numbers are duplicates. how do i
    > >import this spreadsheet to a access table free of duplicate values for the
    > >drawing number?
    > >
    > >thank you.

    >
    > The simplest way would be to create an empty Access table with the
    > same two columns, with a unique Index on the Drawing Number. Use
    > File... Get External Data... Link to link to the spreadsheet, and run
    > an append query from the linked table into the local table. You'll get
    > a warning message that "x records were not appended due to key
    > violations" - those are the duplicates.
    >
    > Note that the ID values associated with the second and subsequent
    > duplicate drawing numbers will be lost.
    >
    > John W. Vinson[MVP]
    >
    >
    >
     

Share This Page