Hi all! This one has been driving me nuts! I have a report that is pulled from a database, and by default if a date cell is left blank, then a value is listed. Oddly enough, normally these "blank default" dates are consistent, but for some reason, I have 2 of them in 2 different formats. Perhaps, this is due to a blank field or 0 being entered in the system. In any even the two bogus dates are:
1800-01-01
1/1/1900
As you can see, two different formats. I am trying to write an if statement that if either of those 2 dates is listed, to display "No", and if any other date is listed, to display "Yes". The date is in column K. My formula was to use a nested IF/OR statement, but it would seem I do not have it correct. I wrote it as:
=IF(OR(K2="1800-01-01",K2="1/1/1900"),”No”, "Yes")
However, it lists Yes for everything, except where it lists "#NAME?". None of the cells in this column are actually blank, and all other dates are valid dates. I just need to be able to flag all these bog dates, and I cannot figure out what I am doing wrong. Thanks so much!.
Bookmarks