Select cell A7 and go to Data Tab, Click on Data Validation, select Custom in Allow field and enter formula in formula field as shown below (Click to enlarge)
Formula: =ISNA(VLOOKUP(A7,A2:A6,1,FALSE))
This post first appeared on
Excel VBA Tips, please read the originial post:
here