Importing Excel spreadsheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

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.
 
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]
 
thanks a lot! that helps.

John Vinson said:
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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top