A couple of more questions...
How do I change the formula to display text OR a number? And how do I get it to display a date?
As far as getting it to display the last text OR number, we need to create a bit more robust of a formula:
=INDEX(A:A,MAX(MATCH(9.99E+307,A:A),MATCH(REPT("z",255),A:A)))
To get it to find a date... I don't believe that it will be possible to determine the difference between a date and a number, since a date is actually a serial number of the number of days since 1/0/1900. For example, 1/4/1900 is actually stored as "4" in a cell.
MAX'ing like this won't work when column A consist of either just numbers or just text...
Thanks for pointing that out, Aladin, I did a brief testing and hadn't made that assumption.
Try:
=INDEX(A:A,MAX(IF(ISERROR(MATCH(9.99E+307,A:A)),1,MATCH(9.99E+307,A:A)),IF(ISERROR(MATCH(REPT("z",255),A:A)),1,MATCH(REPT("z",255),A:A))))