Basic data validation question

B

Bingo Accent

I can't believe that I can't figure this out for myself, but...

I want to use Data Validation to only allow entry to a cell, if the
content of another cell is a specific text.

i.e. Cell E5 has a status of 'Open' or 'Closed' (data entry
validated). Cell F5 shows 'Date Closed'.

I want to prevent someone entering a date in the 'Date Closed' cell,
if E5 shows 'Open'.

I've tried using Data Validation>Custom and entering variations on
=IF(E5="Closed"), but I'm getting nowhere.

Please help!

Thanks.
 
R

Ragdyer

This seems to work if "Date Closed" is entered in E5 while F5 is either
blank or contains "closed":

Click in E5, and <Data> <Validation> <Custom>, and enter:
=AND(E5="Closed",F5>0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top