+ Reply to Thread
Results 1 to 5 of 5

Formulas using Dates

  1. #1
    Registered User
    Join Date
    08-06-2015
    Location
    Mesa, Arizona
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    84

    Formulas using Dates

    Hello,
    I attached a spreadsheet for everyone to review and am wondering if someone could take a look and help me out.

    I am trying to write a formula that will look at the date listed in column "D" and focus just on the DAY, not the month or the year.

    The purpose of the formula is to verify that a process was completed in a timely manner.

    Column A contains a number, this number is a "rebill" date and the folks in my department must have their rebills approved within 6 days from that date.

    Example:

    Column A shows a rebill date of "20" and Column D shows a date of 1/27/16, we know that they were completed on time.
    Column B shows a rebill date of "10" and Column D shows a date of 1/20/16, we know that they were NOT completed on time.

    Is there a way to do this and enter a percentage in a total line based off of that formula? For example, this would be 50% of rebills sent on time.

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formulas using Dates

    If the criteria for "on time" is within 6 days of the rebill date
    How is the first one on time, when the rebill date is 20 and the date approved is 27 (27-20 = 7) ?

  3. #3
    Registered User
    Join Date
    08-06-2015
    Location
    Mesa, Arizona
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    84

    Re: Formulas using Dates

    Oops, sorry, you can use 7 days instead of 6, my bad

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formulas using Dates

    ok, but this still doesn't seem logical to me, considering only the Day part of a date.
    What if the rebill date was say 28, and the approved date was 1/2/2016
    Is that on time?

    anyway, to specifically post a solution to the posed question, you can just use the DAY function

    =IF(DAY(D2)-A2<=7,"On Time","Not On Time")

  5. #5
    Registered User
    Join Date
    08-06-2015
    Location
    Mesa, Arizona
    MS-Off Ver
    Microsoft Excel 2013
    Posts
    84

    Re: Formulas using Dates

    I would use a formula to add 7 to the rebill date...so example:

    if rebill date is 20, and we need it completed with in 7 days I would start the formula off by putting the rebill date+7 and so on.

+ 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: 4
    Last Post: 10-17-2013, 09:59 AM
  2. IF formulas and dates
    By nataliew in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-01-2013, 07:02 PM
  3. Replies: 18
    Last Post: 03-24-2013, 04:20 PM
  4. [SOLVED] Formulas that contain dates and hidden formulas
    By rowena229 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 03-22-2013, 12:51 PM
  5. Using Formulas with Dates
    By nosenga in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-13-2011, 01:33 PM
  6. Dates in Formulas
    By Cortlyn in forum Excel General
    Replies: 6
    Last Post: 11-19-2009, 07:45 AM
  7. worksheet shows dates as number and formulas as formulas
    By baneVader in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2008, 01:36 PM
  8. Help with using dates in formulas
    By the ditch docto in forum Excel General
    Replies: 2
    Last Post: 04-15-2008, 02:58 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