+ Reply to Thread
Results 1 to 4 of 4

Average between 2 dates if criteria appears in same row

  1. #1
    Registered User
    Join Date
    06-19-2015
    Location
    CA
    MS-Off Ver
    2013
    Posts
    6

    Average between 2 dates if criteria appears in same row

    For each of our products, I am trying to calculate the average length of time between dates to respond to RFPs. I think it should be an AVERAGEIF or AVERAGE(IF formula but I cant find anything that works for what I am trying to do. I have uploaded an example of my spreadsheet.

    I would like to get an average between B and C for each of the products listed in E. I have been fussing with this for hours and can't figure it out!

    Thank you in advance for your knowledge and support!
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Average between 2 dates if criteria appears in same row

    Try this array formula**:

    =AVERAGE(IF(E3:E14=C19,C3:C14-B3:B14))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    06-19-2015
    Location
    CA
    MS-Off Ver
    2013
    Posts
    6

    Re: Average between 2 dates if criteria appears in same row

    Worked like a charm! Thank you so much

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Average between 2 dates if criteria appears in same row

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. [SOLVED] Find average of all items if criteria appears in another colum
    By dave033 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-17-2014, 12:26 PM
  2. Replies: 6
    Last Post: 07-09-2012, 11:06 AM
  3. Replies: 5
    Last Post: 02-06-2012, 10:40 AM
  4. Average between dates with multiple criteria
    By Macorden in forum Excel General
    Replies: 6
    Last Post: 01-21-2011, 06:21 PM
  5. Average of dates and times if it meets a specific criteria
    By Shadoweski in forum Excel General
    Replies: 1
    Last Post: 09-28-2010, 10:26 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