In range A1:A1000 I have dates spanning may years with some blank cells in the range.
I use this array formula {=MAX(IF(YEAR(A1:A1000)=C2,A1:A1000))}, in C2 I have 2018. This formula finds the last date entered in 2018. If there is any text in the range A1:A1000 I get the error #VALUE!. Is there a way to stop getting this error if there is text in the range? I have added additional conditions like ISNUMBER, but I still get the error.
Any help would greatly be appreciated.
Bookmarks