excel data validation not empty if othet cell has value code example Example: excel check if cell not empty IF(A1<>"","Not empty","Empty")