Hi everyone! I'm new to the forum, and if I posted in the wrong section, please let me know.
I have the following problem in Excel 2007:
I need to make a table in which i have a dropdown list. For every value that I pick (let's say X), a cell with the formula :
=VlookUp(Data_In_a_Cell;ArrayX;2;False)
So for value 1 of the pick, the cell will modify its formula to : =VlookUp(Data_In_a_Cell;Array1;2;False) ;
for value 2, the formula will be: =VlookUp(Data_In_a_Cell;Array2;2;False) and so on.
Assuming that i define Array1, Array2,.... ArrayX , how do I do that?
I tried using VBA, but it displays me an error, because the code wants to keep the proper value of the cell, but as soon as it replaces, Excel will do its job and input another value of the cell. The code won't work
Next I tried using Replace function, but I don't quite get it...
Please help me if you can.
For any questions, I'm available. See you!
Cross posted here: http://www.mrexcel.com/forum/showthr...a-list-changes
and here: http://www.ozgrid.com/forum/showthre...601#post619601
Bookmarks