Home

Data Validation in excel

Ian_Sparks2020
Occasional Visitor

Hi,

I wonder if anyone can help me.

I am creating a spreadsheet for data entry and as this will be used by multiple persons l am restricting from of the fields by using data Validation lists.

What l am now asking for assistance with is what if scenarios for example:

1. In column a data validation list exists with the options Yes and No.

2. n the next column, If option Yes is selected then his prefills with N/A, but at the same time if No is selected then the user can enter data (in free text).

 

Can anyone help me?

Thanks

Tina

 

1 Reply
Tina, You could use this formula, =IF(B2="Yes","N/A","Enter Data Here") it would mean the user overwrites the formula. If you didn't want that then you would need to write a macro to enter the N/A pre-fill.