I am trying to compare two dates in two columns. If there is no date, I want the cell to be blank. If the date is <= to the previous date, I'd like the cell to return a value of "Yes". If the date is greater than the previous date, I'd like the cell to return a value of "No".
I've tried:
=IF(ISBLANK(H20),"",(IF(H20>G20,"No","Yes")))
=IF(COUNT(H20)<>1," ",IF(H20<=G20,"Yes","No"))
If there is no date entered in the cell, I can get the cell to be blank. However, I've tried interchanging the greater than/less than equal signs and the yes/no in both formulas, but it seems that the cell returns the first condition no matter if the date is less than/greater than the previous date.
Thank you.
Bookmarks