Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Stefan
 
Posts: n/a
Default Querying Data from Access

I am trying to pull data from Access into Excel. I have successfully done
so... well, to a point.

Here is my situation:

I have a database containing several tables. I only want to pull from two of
these tables. One contains inventory data and the other contains descriptions
of the data I want to pull. For instance, in the inventory table I have a
shirt. The shirt comes in several sizes, however the sizes are contained in a
seperate table containing the descriptions and how many of each for the
description. The two tables are tied together by unique ID's.

What I would like to do in Excel is first pull in the department. Under each
department I would then like to display each item code from the inventory
table. Under the item code I would then like to display each description for
that particular item and then list the number of items per description (or
number of items on hand for the item matching that description).

Again, while I am able to pull data into the spreadsheet, I cannot seem to
manipulate it into breaking the items down further, into their perspective
descriptors.

Any help would be appreciated.

Thanks in advance.
--
Stefan Dimmick
  #2   Report Post  
TomHinkle
 
Posts: n/a
Default

In the database, make a left join query that ties both tables together.

Pull this entire query into the spreadsheet.

*** IMPORTANT ***
do NOT manipulate the data on that sheet. It will be the raw data page and
you can use it to validate anything.

On another worksheet, make a pivot table based on the raw data sheet.
You'll be able to make the seperations you want..

"Stefan" wrote:

I am trying to pull data from Access into Excel. I have successfully done
so... well, to a point.

Here is my situation:

I have a database containing several tables. I only want to pull from two of
these tables. One contains inventory data and the other contains descriptions
of the data I want to pull. For instance, in the inventory table I have a
shirt. The shirt comes in several sizes, however the sizes are contained in a
seperate table containing the descriptions and how many of each for the
description. The two tables are tied together by unique ID's.

What I would like to do in Excel is first pull in the department. Under each
department I would then like to display each item code from the inventory
table. Under the item code I would then like to display each description for
that particular item and then list the number of items per description (or
number of items on hand for the item matching that description).

Again, while I am able to pull data into the spreadsheet, I cannot seem to
manipulate it into breaking the items down further, into their perspective
descriptors.

Any help would be appreciated.

Thanks in advance.
--
Stefan Dimmick

  #3   Report Post  
Stefan
 
Posts: n/a
Default

That works like a champ! Thanks a million!
--
Stefan Dimmick


"TomHinkle" wrote:

In the database, make a left join query that ties both tables together.

Pull this entire query into the spreadsheet.

*** IMPORTANT ***
do NOT manipulate the data on that sheet. It will be the raw data page and
you can use it to validate anything.

On another worksheet, make a pivot table based on the raw data sheet.
You'll be able to make the seperations you want..

"Stefan" wrote:

I am trying to pull data from Access into Excel. I have successfully done
so... well, to a point.

Here is my situation:

I have a database containing several tables. I only want to pull from two of
these tables. One contains inventory data and the other contains descriptions
of the data I want to pull. For instance, in the inventory table I have a
shirt. The shirt comes in several sizes, however the sizes are contained in a
seperate table containing the descriptions and how many of each for the
description. The two tables are tied together by unique ID's.

What I would like to do in Excel is first pull in the department. Under each
department I would then like to display each item code from the inventory
table. Under the item code I would then like to display each description for
that particular item and then list the number of items per description (or
number of items on hand for the item matching that description).

Again, while I am able to pull data into the spreadsheet, I cannot seem to
manipulate it into breaking the items down further, into their perspective
descriptors.

Any help would be appreciated.

Thanks in advance.
--
Stefan Dimmick

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easiest Way to have access functionality in Excel or vice-versa? John Excel Worksheet Functions 4 May 27th 05 09:15 PM
How do I get an Access form in Excel to Expand the Data RogerN Excel Discussion (Misc queries) 0 February 25th 05 06:04 PM
MS Excel data reading in MS Access Paul Excel Discussion (Misc queries) 1 January 27th 05 11:58 AM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
populating data from excel into access Chris Links and Linking in Excel 1 December 15th 04 07:50 AM


All times are GMT +1. The time now is 10:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"