If dropdown equals specific text then prompt for input, otherwise do a vlookup

horrellbt01

Board Regular
Joined
Mar 15, 2010
Messages
65
I have a table where users are inputting data. They are required to select an action type in a drop down. Another cell assigns a value based on what they select on the dropdown.

What I am looking to do is request user input if they select a specific dropdown.

For example:
Drop DownValues
=IFERROR(VLOOKUP(A2,Sheet2!A:B,2,0),"")

If the user selects A,B,C or D in the dropdown, I want the vlookup to find the value on sheet2.
However, if E is selected I want the user to provide that value via an input box.
I do not want the user to simply type the value into the cell because this is in a table and I want all the formulas to be preserved

Thoughts?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

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