+ Reply to Thread
Results 1 to 3 of 3

MAX function NULL values returning today's date

  1. #1
    Registered User
    Join Date
    09-21-2006
    Location
    Dallas, Texas
    MS-Off Ver
    Office 365 Subscription
    Posts
    54

    MAX function NULL values returning today's date

    I have a cell with a max function D1=MAX(A2:A100). A2:A100 are dates. If A2:A100 are null the return is 12/30/1899. Is there a way to have today's date returned if all of the values in A2:A100 are null?

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2013
    Posts
    4,335

    Re: MAX function NULL values returning today's date

    How about putting an if statement

    =if(max()=0,Today(),max())
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019; O365
    Posts
    19,168

    Re: MAX function NULL values returning today's date

    Try this:

    =if(A2:A100 = "",today(),Max(A2:A100))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1