+ Reply to Thread
Results 1 to 3 of 3

Date Range with Multiple Criteria

  1. #1
    Registered User
    Join Date
    06-13-2014
    Posts
    1

    Date Range with Multiple Criteria

    Hi, can anyone help me? I have been tearing my hair out.

    I'm looking for a formula to calculate the following status tags if the date falls within these ranges; >7 days (this week) , >14 days (fortnight), 30-31 days (this month), after the month end >31 or 30 days read (next month), 3 months etc.

    Today's Date eg. 10/6/2014

    Finish Date: 28/9/2014

    A B C
    Due DateCompleted status
    1 11/06/2014 this week
    2 23/06/2014 fortnight
    3 29/06/2014 this month
    4 20/07/2014 next month
    5 9/06/2014 overdue
    6 3/8/2014 2 months
    7 11/06/2014 12/06/2014 completed

  2. #2
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: Date Range with Multiple Criteria

    Hi there,
    if there is a possibility to use helper columns, check the attachement:
    Book2.xlsx

    Hope it helps
    Regards
    Miroslav R.

    (If You like my solutions, feel free to add reputation.)

  3. #3
    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,936

    Re: Date Range with Multiple Criteria

    Daisy, welcome to the forum

    Try this, copied down...
    =IF(B4<=$C$2,"Complete","Next "&IF(EDATE($C$2,1)>B4,B4-$C$2&" Days",IF(EDATE($C$2,MONTH(B4)-MONTH($C$2))<B4,MONTH(B4)-MONTH($C$2)+1,MONTH(B4)-MONTH($C$2))&" Months"))

    It does not gives weeks, it gives days, weeks will ret really involved, but if you really want weeks, let me know
    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. multiple criteria within a date range
    By sangomas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-08-2014, 05:44 AM
  2. Replies: 11
    Last Post: 02-07-2013, 02:22 AM
  3. Count - multiple criteria, multiple sheets, and date range.
    By threecliffs in forum Excel General
    Replies: 6
    Last Post: 06-14-2011, 01:36 PM
  4. Multiple Criteria with a date range/month
    By philllipoosis in forum Excel General
    Replies: 4
    Last Post: 01-13-2011, 02:23 PM
  5. sum multiple criteria date range
    By emitecaps in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 01-13-2010, 08:15 AM

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