+ Reply to Thread
Results 1 to 3 of 3

Formula to return zero if date missing

  1. #1
    Registered User
    Join Date
    09-15-2011
    Location
    Tacoma, WA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Smile Formula to return zero if date missing

    Calculating age using current date less birthdate. Current formula is returning 111 for age if no birthdate is entered.

    See attached sample. Formula used is =DATEDIF(C13,$D$3,"Y")

    Help is appreciated!
    Attached Files Attached Files
    Last edited by katweller; 09-15-2011 at 04:43 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702

    Re: Formula to return zero if date missing

    Hello katweller,

    try this version

    =IF(C10="","",DATEDIF(C10,$D$3,"y"))
    Audere est facere

  3. #3
    Registered User
    Join Date
    09-15-2011
    Location
    Tacoma, WA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Formula to return zero if date missing

    Perfect! Thank you!

+ 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