+ Reply to Thread
Results 1 to 2 of 2

Use DateDif with IF statement

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    Montreal, Quebec
    MS-Off Ver
    Excel 2010
    Posts
    76

    Talking Use DateDif with IF statement

    So far, I have: =datedif(consult date, today's date, "D") which calculates what I've needed, up till now. Now, I want to expand a little more, I want it to stop counting if I have given an appointment.

    consult date = 2017-05-02
    today's date = 2017-05-23
    days pending = 21
    date of appointment = 2017-05-26

    I want it to stop counting if there's a date in the appointment column

    I'm not sure what formula to use because "today's date" changes daily....

    Thanks.

    *correction made 2017-05-23 @ 10:44am
    Last edited by Johfra; 05-23-2017 at 10:45 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Use DateDif with IF statement

    Your subject says DATEDIF, your description reads "ifdated" and makes it look like a macro rather a standard Excel function??
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ 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. Datedif
    By tedcahill2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-30-2016, 12:14 PM
  2. [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
  3. Datedif
    By lavoren in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-18-2015, 06:25 AM
  4. If Statement with Datedif and Blanks
    By mtr1213 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-11-2014, 05:32 PM
  5. DateDif Average? Damn DateDif
    By UTCHELP in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-10-2012, 08:53 AM
  6. Help with datedif
    By nickbelmont in forum Excel General
    Replies: 3
    Last Post: 11-27-2006, 01:03 PM
  7. [SOLVED] Datedif
    By Jennifer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2006, 04:50 PM

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