Option B is the situation
You haven't provided any details of ranges, how your sheet is operated etc, so let's suppose your current formula is ...
... then a few options might be:
1. The formula already given above, which would become:
3. Use Data Validation in A1 to stop the user entering an entry that is not in C2:C10 in the first place.