Pulling data from specific worksheet using 2 criteria from a dropdown

Skiroy

New Member
Joined
May 8, 2017
Messages
6
Hello,

I'm working through this thing, and I've watched too many videos / read too many forum posts and I can't seem to find what I'm looking for.

I'm trying to pull data from one of 6 worksheets (denoted by Range A, Range B, Range C, Range D, Range E, and Range F) I have a drop down that I'm hoping will select the worksheet that this data needs to be pulled from, and then the second drop down would indicate where in that spreadsheet to look.

The goal is for this to be a dashboard that pulls the data from the other worksheets that is based on Range, and the grade.

I have an example of a formula that kind of worked for another workbook, but pulled the whole sheet of information, and I need mine a bit more specific

=if($B$8="Select Geographic Range","",VLOOKUP$F8,CHOOSE(VLOOKUP(CONCATENATE($A$6,$B,$6),GeoCity,2,0),Geo,2,0),SalaryGeoA,SalaryGeoB,SalaryGeoC,SalaryGeoD,SalaryGeoE,SalaryGeoF)2+5,0))


The above formula would pull data into the cells based on what was selected in the drop down. The drop down's were by City and State, which needed the CONCATENATE, but I don't have City / State Data I have Range and Grade data. I would like to keep it referencing the different worksheets, because when the master data gets updated it will be in that particular format.

"Geo" is a name'd reference that looks at
A1
B
2
C3
D4
E5
F6

<tbody>
</tbody>


The "Geo City" references =Data!$K:$L where K =Concatenate(I1,J1) and I is the state and J is the City and L is the Geo Range associated with that city. Which is why I don't think I need Concatenate because I'm not looking up particular city/state.

I feel as if I'm trying to reverse engineer this formula to make it apply to what I'm working on and I'm having one heck of a time.

Thanks for anyone's input / help.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,216,111
Messages
6,128,898
Members
449,477
Latest member
panjongshing

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