Conditional Data Validation?

wetterman00

New Member
Joined
Jul 26, 2011
Messages
1
Hi. Excel 2007 user on PC.

I am trying to prevent contradicting answers in a form that asks a series of survey questions. In each cell where the person being surveyed can submit an answer, I use a data validation list with the answer choices.

However, in some cases, depending on how an earlier question is answered, I would like the ability to block the users ability to answer a subsequent question.

I first tried having the data validation lists for the later questions tied to how the previous question was answered. For example, if prior question was "Yes" then the pop-down list is populated with something like "Already Answered", and if "No" then it would the pop-down list would have a series of other possible answers. The menu choices changed using an if statement based on the prior answer.

This is great except the cell still appears blank until the user selects the drop down list and sees "Already Answered" as the "option". My boss sees this as sub-optimal and would like to make it very obvious to the user that that question does not need to be answered.

Is the following scenario possible: the subsequent "answer" cell either pre-populates with "Already Answered" if the prior answer is "Yes" OR uses data validation to populate it with other answers?

Also tried conditional formatting but that can only change the color of the cell, not add text. Would like to avoid using VBA. Futzed around with the =INDIRECT() formula but not sure that's the solution either. Thank you.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Put this formula in the dependent cell. Cell B1 is the previous cell it depends on.

=IF(B1="Yes","Already Answered","")

If B1 were not yes, then they would select this cell and overwrite the formula with a selection from the data validation drop-down list.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

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