I have, what seems to me, an easy question to answer, but I cannot find the answer online yet without using VBA.
I have two columns, A and B. Column A contains a fruit, column B a number. I want to apply data validation (i.e. a drop down list) for column B only in case the value of A is apple. So for other fruits, the user should just be able to enter any value.
Important: When I apply sorting to the complete table, validation should still work.
Hope the question is clear.

=IF(A2="Apple",List,IF(ISNUMBER(B2),B2))- Naresh