Populate Sheet with Data from DB

dkauf

Board Regular
Joined
Sep 23, 2008
Messages
68
I use MS Query to pull data from a central DB into Excel for reporting. The data that I pull contains records for many locations that my company operates. I am trying to build some reporting that would ideally work like this:

-After I query the master DB for ALL records, I park those in a tab in the Excel workbook for referencing
-However, when I report, I need to be able to "hide" data for locations I am not currently reporting on
-I envision a drop down list where I select the specific location and the report looks to the "data tab" for all records from that location and then populates the record ID numbers for that location only. Essentially, it would be a lookup of a value (location #) in the "data tab" and would return ALL the records associated with that location.

Any ideas?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,616
Messages
6,179,909
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top