Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave
 
Posts: n/a
Default Pulling data out of a large database

I am trying to build a file to pull information from a larger database and
put it into summary file. I would like to be able to use criteria like 15
months and % range <100 to pull information about products from a larger
database. A single row of data would have multiple columns. I need to be
able to pull the entire row of data, that corresponds to the criteria, to the
summary sheet.

I hope this makes sense.

Thanks
  #2   Report Post  
Gary Rowe
 
Posts: n/a
Default

Dave,
You need to make an ODBC connection to the database and use MSQuery to query
the data. Click on Data, Import External Data, New Database Query. In the
Choose data source select a preexisting data connection or create a new one
to your database. Follow the wizard from there.

"Dave" wrote:

I am trying to build a file to pull information from a larger database and
put it into summary file. I would like to be able to use criteria like 15
months and % range <100 to pull information about products from a larger
database. A single row of data would have multiple columns. I need to be
able to pull the entire row of data, that corresponds to the criteria, to the
summary sheet.

I hope this makes sense.

Thanks

  #3   Report Post  
Dave
 
Posts: n/a
Default

Hi Gary

Sorry, I did not include enough info. The data in the "database" is in an
Excel file. Is there a way to query the excel file?

Thanks


"Gary Rowe" wrote:

Dave,
You need to make an ODBC connection to the database and use MSQuery to query
the data. Click on Data, Import External Data, New Database Query. In the
Choose data source select a preexisting data connection or create a new one
to your database. Follow the wizard from there.

"Dave" wrote:

I am trying to build a file to pull information from a larger database and
put it into summary file. I would like to be able to use criteria like 15
months and % range <100 to pull information about products from a larger
database. A single row of data would have multiple columns. I need to be
able to pull the entire row of data, that corresponds to the criteria, to the
summary sheet.

I hope this makes sense.

Thanks

  #4   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You can use an Advanced Filter to extract the data. There are
instructions in Excel's Help, and he

http://www.contextures.com/xladvfilter01.html

Dave wrote:
I am trying to build a file to pull information from a larger database and
put it into summary file. I would like to be able to use criteria like 15
months and % range <100 to pull information about products from a larger
database. A single row of data would have multiple columns. I need to be
able to pull the entire row of data, that corresponds to the criteria, to the
summary sheet.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #5   Report Post  
Gary Rowe
 
Posts: n/a
Default

Dave,
Yes you can query a worksheet including the workbook you're working in.
Your data needs to be in a table with a header row for each column. Click on
data, import external data, new database query. On the choose data source
dialog box choose "excel files" and then select the excile file with the
worksheet data you're wanting to query. Proceed from there.

"Dave" wrote:

Hi Gary

Sorry, I did not include enough info. The data in the "database" is in an
Excel file. Is there a way to query the excel file?

Thanks


"Gary Rowe" wrote:

Dave,
You need to make an ODBC connection to the database and use MSQuery to query
the data. Click on Data, Import External Data, New Database Query. In the
Choose data source select a preexisting data connection or create a new one
to your database. Follow the wizard from there.

"Dave" wrote:

I am trying to build a file to pull information from a larger database and
put it into summary file. I would like to be able to use criteria like 15
months and % range <100 to pull information about products from a larger
database. A single row of data would have multiple columns. I need to be
able to pull the entire row of data, that corresponds to the criteria, to the
summary sheet.

I hope this makes sense.

Thanks

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
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 06:15 PM
Fetching External Data from Excel Sri Excel Discussion (Misc queries) 2 January 3rd 05 12:46 PM
Charting data ranges that change mikelee101 Charts and Charting in Excel 2 December 17th 04 12:07 AM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 12:56 PM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 06:15 PM


All times are GMT +1. The time now is 02:24 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"