Share via

Using Max Return 1/1/1900

Anonymous
2022-08-22T20:45:51+00:00

Hi All

I have this formula =MAX(B2,C2,D2,E2,F2,G2,H2,I2,J2,K2,L2,M2,N2,) which returns the latest date but if it is blank is returning 1/0/1900 (which is not a welcome result)

So I tried this (which usually does the trick) =IF(MAX(B2,C2,D2,E2,F2,G2,H2,I2,J2,K2,L2,M2,N2)="","",MAX(B2,C2,D2,E2,F2,G2,H2,I2,J2,K2,L2,M2,N2)) but still doesn't work

what could be a solution?

Thank you

Microsoft 365 and Office | Excel | For home | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2022-08-22T21:06:57+00:00

MAX never returns "", it always returns a number. Try

=IF(COUNT(B2:N2)=0, "", MAX(B2:N2))

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2022-08-23T10:10:31+00:00

    Thank you HansV. That works perfectly

    Was this answer helpful?

    0 comments No comments