PC Review


Reply
Thread Tools Rate Thread

Converting Excel spreadsheets to an access database

 
 
mikael.lindqvist@skane.se
Guest
Posts: n/a
 
      8th Dec 2006
Hi everyone,

Although I understand the basic principles on SQL database I'm
nevertheless stuck on how to make this one work in practice.

WHAT I'VE GOT
1. I've imported four tables (table1,,...,table4) from Excel to Access.
2. Each of the four tables share 3 common data (month, type1, type2).
3. Additionally there are some further "sharing" of three data "sets"
but it's not common for all 4 tables.

WHAT I'M TRYING TO DO
1. Build a complete database without any redundant data.

Since the spreadsheets are big (> 100,000 lines) I cannot make ONE
giant dataset and use Access' analyze tool to break out the redundant
fields.

SPECIFICALLY...
I have broken out "month" from each table - using the "analyze tool" -
(month1, month2, month3, month4), each is 1-N relationship with
table1,...,table4.

Now, I really need to "merge" this four tables (month1,...month4) into
one table that is 1-N relationship with table1,...,table4 ("month",
ie, jan-dec, is one of a few common data that binds together my
original four tables.

How do I do that? That is, re-arrange the month tables into one (I have
fiddled around a lot in the "relatins-window" but no luck).

If I was building the Access database from scratch (bottom-up) I'd
basically make 1 month table (jan, feb,...,dec) and then enter data.
Now I've got it the other way around; I have data and I need to break
it down to make it non-rendundant.

Any help as always appreciated (even more because none of my 2 books on
Access nor any online resource seem to cover this topic).

Cheers,
Mikael
Sweden

 
Reply With Quote
 
 
 
 
Bill Mosca, MS Access MVP
Guest
Posts: n/a
 
      8th Dec 2006
Mikael

By redundant data are you referring to duplicate rows? If so, creating a
unique index on an empty table and then appending all the rows into that
table should eliminate the dups.

--
Bill Mosca, MS Access MVP


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi everyone,
>
> Although I understand the basic principles on SQL database I'm
> nevertheless stuck on how to make this one work in practice.
>
> WHAT I'VE GOT
> 1. I've imported four tables (table1,,...,table4) from Excel to Access.
> 2. Each of the four tables share 3 common data (month, type1, type2).
> 3. Additionally there are some further "sharing" of three data "sets"
> but it's not common for all 4 tables.
>
> WHAT I'M TRYING TO DO
> 1. Build a complete database without any redundant data.
>
> Since the spreadsheets are big (> 100,000 lines) I cannot make ONE
> giant dataset and use Access' analyze tool to break out the redundant
> fields.
>
> SPECIFICALLY...
> I have broken out "month" from each table - using the "analyze tool" -
> (month1, month2, month3, month4), each is 1-N relationship with
> table1,...,table4.
>
> Now, I really need to "merge" this four tables (month1,...month4) into
> one table that is 1-N relationship with table1,...,table4 ("month",
> ie, jan-dec, is one of a few common data that binds together my
> original four tables.
>
> How do I do that? That is, re-arrange the month tables into one (I have
> fiddled around a lot in the "relatins-window" but no luck).
>
> If I was building the Access database from scratch (bottom-up) I'd
> basically make 1 month table (jan, feb,...,dec) and then enter data.
> Now I've got it the other way around; I have data and I need to break
> it down to make it non-rendundant.
>
> Any help as always appreciated (even more because none of my 2 books on
> Access nor any online resource seem to cover this topic).
>
> Cheers,
> Mikael
> Sweden
>



 
Reply With Quote
 
mikael.lindqvist@skane.se
Guest
Posts: n/a
 
      8th Dec 2006
Hi again,

I probably didn't do a very good job explaining what I'm attempting to
do :>

Anyhow, I put a small part of the excel file on a webpage (removed most
of the data, but kept the columns intact).

http://www.heleneholmstriteam.se/dev...ccess_data.xls

EXPLANATION
First page (original data) contains everything I want in the Access
relational database. It's a huge flat file. Problem is that it contains
too much information and when I tried to break out the data (after
importing it to Access) using "analyze tool" I get error telling me to
"increase the file lock index... something".

Anyhow, I then broke out the "original data" into 4 different pages.

* Orange header (mån, resultatenhet, typ) is common for all 4 pages /
tables.
* Green header needs to be normalized (it contains multiple data)
* Header without color is the "data".

Cheers,
Mikael

###############

Bill Mosca, MS Access MVP skrev:

> Mikael
>
> By redundant data are you referring to duplicate rows? If so, creating a
> unique index on an empty table and then appending all the rows into that
> table should eliminate the dups.
>
> --
> Bill Mosca, MS Access MVP
>
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi everyone,
> >
> > Although I understand the basic principles on SQL database I'm
> > nevertheless stuck on how to make this one work in practice.
> >
> > WHAT I'VE GOT
> > 1. I've imported four tables (table1,,...,table4) from Excel to Access.
> > 2. Each of the four tables share 3 common data (month, type1, type2).
> > 3. Additionally there are some further "sharing" of three data "sets"
> > but it's not common for all 4 tables.
> >
> > WHAT I'M TRYING TO DO
> > 1. Build a complete database without any redundant data.
> >
> > Since the spreadsheets are big (> 100,000 lines) I cannot make ONE
> > giant dataset and use Access' analyze tool to break out the redundant
> > fields.
> >
> > SPECIFICALLY...
> > I have broken out "month" from each table - using the "analyze tool" -
> > (month1, month2, month3, month4), each is 1-N relationship with
> > table1,...,table4.
> >
> > Now, I really need to "merge" this four tables (month1,...month4) into
> > one table that is 1-N relationship with table1,...,table4 ("month",
> > ie, jan-dec, is one of a few common data that binds together my
> > original four tables.
> >
> > How do I do that? That is, re-arrange the month tables into one (I have
> > fiddled around a lot in the "relatins-window" but no luck).
> >
> > If I was building the Access database from scratch (bottom-up) I'd
> > basically make 1 month table (jan, feb,...,dec) and then enter data.
> > Now I've got it the other way around; I have data and I need to break
> > it down to make it non-rendundant.
> >
> > Any help as always appreciated (even more because none of my 2 books on
> > Access nor any online resource seem to cover this topic).
> >
> > Cheers,
> > Mikael
> > Sweden
> >


 
Reply With Quote
 
=?Utf-8?B?S0FSTCBERVdFWQ==?=
Guest
Posts: n/a
 
      8th Dec 2006
I do not go to unknown websites.

You still did not say what your data was for.
Post some of the data as it is and tell us what you are trying to get out of
it ( an example of your desired results).

"(E-Mail Removed)" wrote:

> Hi again,
>
> I probably didn't do a very good job explaining what I'm attempting to
> do :>
>
> Anyhow, I put a small part of the excel file on a webpage (removed most
> of the data, but kept the columns intact).
>
> http://www.heleneholmstriteam.se/dev...ccess_data.xls
>
> EXPLANATION
> First page (original data) contains everything I want in the Access
> relational database. It's a huge flat file. Problem is that it contains
> too much information and when I tried to break out the data (after
> importing it to Access) using "analyze tool" I get error telling me to
> "increase the file lock index... something".
>
> Anyhow, I then broke out the "original data" into 4 different pages.
>
> * Orange header (men, resultatenhet, typ) is common for all 4 pages /
> tables.
> * Green header needs to be normalized (it contains multiple data)
> * Header without color is the "data".
>
> Cheers,
> Mikael
>
> ###############
>
> Bill Mosca, MS Access MVP skrev:
>
> > Mikael
> >
> > By redundant data are you referring to duplicate rows? If so, creating a
> > unique index on an empty table and then appending all the rows into that
> > table should eliminate the dups.
> >
> > --
> > Bill Mosca, MS Access MVP
> >
> >
> > <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hi everyone,
> > >
> > > Although I understand the basic principles on SQL database I'm
> > > nevertheless stuck on how to make this one work in practice.
> > >
> > > WHAT I'VE GOT
> > > 1. I've imported four tables (table1,,...,table4) from Excel to Access.
> > > 2. Each of the four tables share 3 common data (month, type1, type2).
> > > 3. Additionally there are some further "sharing" of three data "sets"
> > > but it's not common for all 4 tables.
> > >
> > > WHAT I'M TRYING TO DO
> > > 1. Build a complete database without any redundant data.
> > >
> > > Since the spreadsheets are big (> 100,000 lines) I cannot make ONE
> > > giant dataset and use Access' analyze tool to break out the redundant
> > > fields.
> > >
> > > SPECIFICALLY...
> > > I have broken out "month" from each table - using the "analyze tool" -
> > > (month1, month2, month3, month4), each is 1-N relationship with
> > > table1,...,table4.
> > >
> > > Now, I really need to "merge" this four tables (month1,...month4) into
> > > one table that is 1-N relationship with table1,...,table4 ("month",
> > > ie, jan-dec, is one of a few common data that binds together my
> > > original four tables.
> > >
> > > How do I do that? That is, re-arrange the month tables into one (I have
> > > fiddled around a lot in the "relatins-window" but no luck).
> > >
> > > If I was building the Access database from scratch (bottom-up) I'd
> > > basically make 1 month table (jan, feb,...,dec) and then enter data.
> > > Now I've got it the other way around; I have data and I need to break
> > > it down to make it non-rendundant.
> > >
> > > Any help as always appreciated (even more because none of my 2 books on
> > > Access nor any online resource seem to cover this topic).
> > >
> > > Cheers,
> > > Mikael
> > > Sweden
> > >

>
>

 
Reply With Quote
 
mikael.lindqvist@skane.se
Guest
Posts: n/a
 
      9th Dec 2006
I'm building the Access database for data-analysis (pivot-tables,
reports etc).

The data is collected on 60 different units, measuring their
productivity (2 types) and resources (2 types) over time (monthly
periods).

Not sure if that helps you "helping me" but what the heck :>

Cheers,
Mikael

KARL DEWEY skrev:

> I do not go to unknown websites.
>
> You still did not say what your data was for.
> Post some of the data as it is and tell us what you are trying to get out of
> it ( an example of your desired results).
>
> "(E-Mail Removed)" wrote:
>
> > Hi again,
> >
> > I probably didn't do a very good job explaining what I'm attempting to
> > do :>
> >
> > Anyhow, I put a small part of the excel file on a webpage (removed most
> > of the data, but kept the columns intact).
> >
> > http://www.heleneholmstriteam.se/dev...ccess_data.xls
> >
> > EXPLANATION
> > First page (original data) contains everything I want in the Access
> > relational database. It's a huge flat file. Problem is that it contains
> > too much information and when I tried to break out the data (after
> > importing it to Access) using "analyze tool" I get error telling me to
> > "increase the file lock index... something".
> >
> > Anyhow, I then broke out the "original data" into 4 different pages.
> >
> > * Orange header (men, resultatenhet, typ) is common for all 4 pages /
> > tables.
> > * Green header needs to be normalized (it contains multiple data)
> > * Header without color is the "data".
> >
> > Cheers,
> > Mikael
> >
> > ###############
> >
> > Bill Mosca, MS Access MVP skrev:
> >
> > > Mikael
> > >
> > > By redundant data are you referring to duplicate rows? If so, creating a
> > > unique index on an empty table and then appending all the rows into that
> > > table should eliminate the dups.
> > >
> > > --
> > > Bill Mosca, MS Access MVP
> > >
> > >
> > > <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > Hi everyone,
> > > >
> > > > Although I understand the basic principles on SQL database I'm
> > > > nevertheless stuck on how to make this one work in practice.
> > > >
> > > > WHAT I'VE GOT
> > > > 1. I've imported four tables (table1,,...,table4) from Excel to Access.
> > > > 2. Each of the four tables share 3 common data (month, type1, type2).
> > > > 3. Additionally there are some further "sharing" of three data "sets"
> > > > but it's not common for all 4 tables.
> > > >
> > > > WHAT I'M TRYING TO DO
> > > > 1. Build a complete database without any redundant data.
> > > >
> > > > Since the spreadsheets are big (> 100,000 lines) I cannot make ONE
> > > > giant dataset and use Access' analyze tool to break out the redundant
> > > > fields.
> > > >
> > > > SPECIFICALLY...
> > > > I have broken out "month" from each table - using the "analyze tool" -
> > > > (month1, month2, month3, month4), each is 1-N relationship with
> > > > table1,...,table4.
> > > >
> > > > Now, I really need to "merge" this four tables (month1,...month4) into
> > > > one table that is 1-N relationship with table1,...,table4 ("month",
> > > > ie, jan-dec, is one of a few common data that binds together my
> > > > original four tables.
> > > >
> > > > How do I do that? That is, re-arrange the month tables into one (I have
> > > > fiddled around a lot in the "relatins-window" but no luck).
> > > >
> > > > If I was building the Access database from scratch (bottom-up) I'd
> > > > basically make 1 month table (jan, feb,...,dec) and then enter data.
> > > > Now I've got it the other way around; I have data and I need to break
> > > > it down to make it non-rendundant.
> > > >
> > > > Any help as always appreciated (even more because none of my 2 books on
> > > > Access nor any online resource seem to cover this topic).
> > > >
> > > > Cheers,
> > > > Mikael
> > > > Sweden
> > > >

> >
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I merge 2 Excel spreadsheets into 1 Access database? New2Access Microsoft Access Getting Started 2 2nd Apr 2008 11:01 PM
Converting Excel '03 Spreadsheet to Access '03 Database =?Utf-8?B?c2xpbmdlcg==?= Microsoft Access 5 20th Sep 2007 09:50 PM
Dynamic Connection between Excel Spreadsheets and Access Database =?Utf-8?B?dHdlbg==?= Microsoft Access Form Coding 1 7th Aug 2007 05:18 PM
Excel Spreadsheets to Access Database =?Utf-8?B?YmlsbF9h?= Microsoft Excel Programming 2 31st Dec 2006 04:48 PM
converting wk4 & wks spreadsheets to office 2000 excel spreadsheets liz Microsoft Excel Worksheet Functions 2 17th Oct 2003 02:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:45 AM.