Importing from Excel

M

m

....a popular topic, I know. I failed to find past postings that deal
with what I would like to do.

First, a question: Should I use Excel to clean-up data (eliminate
duplicates, etc.) or import into temp tables in Access and do it
there? My gut feeling is that it is far simpler in Excel. Then
again, I am not as proficient in Access as I am in Excel.

Here's the job:
We've assembled a list of businesses as a flat table. The usual stuff
is there: name, address, contact, etc. That's the easy part.

However, each and every one of these "records" has a one-to-many
relationships to other fields. As a hypothetical example, ABC, Inc.
might sell nuts, bolts and brooms. The way this is documented in the
Excel sheet is that there are three separate entries for ABC, Inc. and
each of these is exactly equal except for the "items sold" column. We
have a few examples of this.

Also, If I wanted to normalize such things as city, state, country, in
theory this would be a relationship to another table in Access
containing lists of cities, states and contries.

So...what is the right approach to importing something like this as a
matter of procedure? Do we input the flat file and start hacking away
in Access or try to create all the tables in Excel? What is the
easiest? Writing VBA code isn't a problem I've done tons of that
under Excel.

Thanks,

-Martin
 
J

Jeanette Cunningham

martin,
the second question about normalising -
There are several examples of how to use a union query to create a
normalised table from parent and child data in the same column on this
discussion group, that I have noticed recently.
Do a search on 'normalising union query'.

I recommend that you clean out any duplicates in whichever program is the
easiest for you.
There are probably others who would say to use access to find duplicates
<g>.


Jeanette Cunningham -- Melbourne Victoria Australia
 

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

Top