Auto populating cell values from list based on criteria (Source: Dynamic separate excel file)

Johnelbek

New Member
Joined
Mar 22, 2013
Messages
3
Dear all,

I am trying to find a way to auto populate cells (either entire row or individial columns) based on criteria value in a dropdown list.
The source data is located in a separate excel file. This excel file is generated from a database and will update monthly. The column headers will remain the same always.

The criteria lists will be made in the "City", "Product", "Indication" fields in the Customer tool file. So basically, if I choose "City" the data from the Database.xls file corresponding to city should be displayed in the area below in the Customer tool.

Both files can be downloaded from here:

http://basbous.dk/test/customertool.xls
http://basbous.dk/test/database.xls


I am thinking autofilter with some kind of macro to take care of the dynamic source list?
I am not sure how to go about this
 
Last edited:

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,207,205
Messages
6,077,038
Members
446,252
Latest member
vettaforza

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