Hi experts!
I have been trying to make a data validation work. It's simple. I need to be sure, firstly that the data in column I is a valid date. Secondly, if the column D is not "NIT" it should be greater than 1/1/1900. For any other value in column D I need to be sure that the date is more than 18 years old.
I built this formula but despite it works in a normal cell, it doesn't work in the "custom data validation" option
=IF(OR(NOT(ISBLANK(I3));DATE(YEAR(I3);MONTH(I3);DAY(I3)));IF(D3="NIT";I3>=DATE(1;1;1900);TODAY()-I3>=6575);FALSE)
Any clue why? Many thanks!
Gerónimo
I have been trying to make a data validation work. It's simple. I need to be sure, firstly that the data in column I is a valid date. Secondly, if the column D is not "NIT" it should be greater than 1/1/1900. For any other value in column D I need to be sure that the date is more than 18 years old.
I built this formula but despite it works in a normal cell, it doesn't work in the "custom data validation" option
=IF(OR(NOT(ISBLANK(I3));DATE(YEAR(I3);MONTH(I3);DAY(I3)));IF(D3="NIT";I3>=DATE(1;1;1900);TODAY()-I3>=6575);FALSE)
Any clue why? Many thanks!
Gerónimo