Pulling data out of a large database

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

Guest

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
 
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.
 
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
 
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.
 

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