+ Reply to Thread
Results 1 to 2 of 2

Interval between two dates with criteria

  1. #1
    Registered User
    Join Date
    02-19-2010
    Location
    Laurel, MD
    MS-Off Ver
    Excel 2003
    Posts
    22

    Cool Interval between two dates with criteria

    I need to find the average interval from the Assignment date to Completed date. Criteria of conditions of status code: Completed, Service Coodinator of William, Order type of New.


    William Completed 17-Feb-10 New 3/1/2010
    William Completed 17-Feb-10 New 3/5/2010
    William Completed 17-Feb-10 New 4/2/2010
    William Completed 16-Feb-10 Old 2/19/2010
    William Completed 16-Feb-10 New 2/19/2010
    Susan Completed 16-Feb-10 New 2/19/2010
    William Completed 16-Feb-10 New 2/19/2010
    William Completed 16-Feb-10 New 2/19/2010
    William Completed 16-Feb-10 New 2/19/2010

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Interval between two dates with criteria

    Okay here is a rookie stab at it

    Confirm formula with Ctrl+Shift+Enter

    If entered correctly the formula will be encased with {}

    =AVERAGE(IF((A1:A7="William")*(B1:B7="Completed")*(D1:D7="New"),F1:F7))

    Adjust ranges to line up with your data

    I added a helper column, column F and added the formula =E1-C1 to establish the interval for each row

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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