I'd like to create a userform to "enter" a vlookup (or index/match) function into a cell given parameters entered in the userform.
For example,
Say I have I have 2 columns, the first column = Blue, Red, White, Green, Black, Brown. The second column = 1, 2, 3, 4, 5, 6. Rather than entering a vlookup function manually in a cell, I'd like to pop up a userform and be asked which value to return Blue = 1, Red = 2, etc. I then want this cell to automatically update if second column changes value, thus, essentially after running the userform I would like the cells to read =vlookup(A1....) etc.
Note that the cells I want the vlookup formula entered into changes depending on which cell the user selects.
Is this possible?
Bookmarks