Creating a vlookup formula table array address using a drop down box

Last Edited By Krjb Donovan
Last Updated: Mar 05, 2014 09:23 PM GMT


I am trying to create a vlookup formula that would allow me to change the table_array details depending on what is selected by from a dropdown box,(sheet1,sheet2,sheet3,sheet4) ie vlookup(A1,dropdownbox!a1:b99,2,false) the cells within the table_array address would stay the same, its just the sheet selected via the dropdown that i would want to change.

hope this makes sense and



If I am understanding correctly, the formula might look something like this.


As you can see the vlookup goes to a differenct sheet depending on what is selected in the drop down box in cell A1 if sheet2 is selected then it goes to the array in sheet2, if sheet3 is selected then it goes to the array in sheet3, etc. etc. Of course your references will be different and the number of sheets that you are using for your lookup arrays will be different but this should give you the idea.



©2024 eLuminary LLC. All rights reserved.