+ Reply to Thread
Results 1 to 3 of 3

IF a date is greater than another date; return a certain number of days

  1. #1
    Registered User
    Join Date
    10-07-2019
    Location
    Philippines
    MS-Off Ver
    Version 1902
    Posts
    8

    IF a date is greater than another date; return a certain number of days

    Hi,

    Need your expertise again about IF function, please. Attached is the info I am working on. This is what I would like to happen:

    If the Start Date is greater than 01 Jan 2020, count the number of days between As of Date and Start Date.

    If Start Date is less than or equal to 01 Jan 2020, count the number of days between As of Date and Calendar Start Date.

    Sample 1.PNG

  2. #2
    Registered User
    Join Date
    10-07-2019
    Location
    Philippines
    MS-Off Ver
    Version 1902
    Posts
    8

    Re: IF a date is greater than another date; return a certain number of days

    Attached is the sample workbook. Highlighted in yellow is the cell I want the formula to be in.
    Attached Files Attached Files

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: IF a date is greater than another date; return a certain number of days

    Try:
    Please Login or Register  to view this content.
    plus 1 if you want to count end date.
    Quang PT

+ 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. Replies: 2
    Last Post: 01-09-2020, 08:33 PM
  2. [SOLVED] Find week days within the date range and return number
    By CaineSmith in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-06-2014, 03:47 PM
  3. [SOLVED] Find number of days greater than zero between date range.
    By Mayzach in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-30-2013, 02:17 PM
  4. [SOLVED] calculates number of days less than or greater than x (a specific date)
    By t2dela in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-07-2013, 10:11 AM
  5. [SOLVED] Number of Days Between Dates but if no Date go to next and return # of Days
    By Bikeman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2012, 12:02 PM
  6. [SOLVED] Macros for: If Today's Date minus other date is greater than certain amount of days Then
    By lottidotti in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-24-2012, 04:46 PM
  7. Return number of days until a date found in a lookup table
    By midwestgirl80 in forum Excel General
    Replies: 1
    Last Post: 08-08-2009, 10:07 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