+ Reply to Thread
Results 1 to 4 of 4

Average between dates

  1. #1
    Registered User
    Join Date
    05-10-2007
    Posts
    16

    Average between dates

    I'm looking for a formula that will allow me to average prices in a dated price list that falls between certain dates.

    Thanks for any help!
    Last edited by romperstomper; 07-08-2011 at 05:21 PM. Reason: Mark solved

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Average between dates

    Hi,

    Please see attached.

    Hope this helps!

    Cheers,
    Attached Files Attached Files
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Average between dates

    Based on the same sample as ConneXionLost this will do the same

    =SUMPRODUCT(--(A2:A32>=D2),--(A2:A32<=E2),B2:B32)/SUMPRODUCT(--(A2:A32>=D2),--(A2:A32<=E2))
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  4. #4
    Registered User
    Join Date
    05-10-2007
    Posts
    16

    Re: Average between dates

    Thanks - both work great!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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