IF Statement--list and set text

October 31, 2011 at 19:22:49
Specs: Macintosh
I am trying to do an IF statement--where "true" shows a data validation list and "false" automatically shows the text "not applicable" (no drown down). So if cell A1 says "No", then in cell B1 show a drop down list. If A1 says "Yes" then I don't want the drop down list to show at all; rather, I want B1 to automatically say "Not Applicable". Can anyone help?

See More: IF Statement--list and set text

October 31, 2011 at 20:10:37
There is no formula that will turn a Drop Down list on and off.

It could done with VBA but that comes with it's own issues.

One possible solution is to use Named Ranges to populate the Drop Down from two different sources, one that has your choices and one that only says Not Applicable.

Place the list you want to use for Yes in a range. Name the Range Yes. Put the words Not Applicable in another cell and name it No.

The source for your Drop Down should read =INDIRECT(A1)

When A1 contains Yes the Drop Down will have your choices.

When A1 contains No Not Applicable will be the only choice.

Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.

Report •
Related Solutions

Ask Question