+ Reply to Thread
Results 1 to 5 of 5

DATEDIF Formula HELP

  1. #1
    Registered User
    Join Date
    02-17-2019
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    2

    DATEDIF Formula HELP

    Trying to calculate date between A5 and the earliest date in X5, M5 or G5

    The formula below I have isnt working.

    =(DATEDIF(A5,G5,"d"))*OR(DATEDIF(A5,M5,"d"))*OR(DATEDIF(A5,X5,"d"))

    Please help!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-10-2016
    Location
    Cordoba, Argentina
    MS-Off Ver
    2016
    Posts
    27

    Re: DATEDIF Formula HELP

    Hi Forrest,
    You could try using
    Please Login or Register  to view this content.
    Cheers
    Sergio

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: DATEDIF Formula HELP

    Try it this way:

    =DATEDIF(A5,MIN(G5,M5,X5),"d")

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    02-17-2019
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    2

    Re: DATEDIF Formula HELP

    Thank you so much!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: DATEDIF Formula HELP

    Hi, welcome to the forum

    For future reference, why not just upload a sample workbook, not a pic (pdf) of it. That way we can see what you are working with, and play around with it
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] DATEDIF - DATEDIF Calculation returning a negative for days or months
    By DaveBre in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2015, 06:22 PM
  2. [SOLVED] Help with DateDif formula
    By FieldHaven in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2014, 11:53 AM
  3. what am I missing in this datedif formula????
    By marquint in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-01-2013, 10:28 PM
  4. [SOLVED] Datedif Formula????
    By Bosox76 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-03-2013, 11:36 AM
  5. [SOLVED] DATEDIF formula
    By Nubian in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-01-2013, 10:09 AM
  6. DateDif Average? Damn DateDif
    By UTCHELP in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-10-2012, 08:53 AM
  7. DATEDIF Formula
    By kwright90 in forum Excel General
    Replies: 4
    Last Post: 04-24-2007, 03:34 PM

Tags for this Thread

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