+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Help with AVERAGEIFS formula including conditions

  1. #1
    Registered User
    Join Date
    10-03-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    51

    Help with AVERAGEIFS formula including conditions

    Hello,

    I am trying to work out how to write a formula that calculates the average value in column X if the following conditions apply:

    Column F = "Yes"
    Neither column R nor V are blank
    The value in column V falls in date range 23/04/2012 - 18/05/2012
    Column C does not equal "JPN"

    Any help would be very much appreciated.

    Thank you

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Help with AVERAGEIFS formula including conditions

    =SUMPRODUCT((X:X)*(F:F="Yes")*(R:R<>"")*(V:V<>"")*(C:C<>"JPN"))/SUMPRODUCT((X:X<>"")*(F:F="Yes")*(R:R<>"")*(V:V<>"")*(C:C<>"JPN"))





    check out this post:

    http://www.excelhero.com/blog/2010/0...umproduct.html
    Last edited by GeneralDisarray; 05-08-2012 at 10:52 AM.
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help with AVERAGEIFS formula including conditions

    Try:

    =AVERAGEIFS(X:X,F:F,"Yes",R:R,"<>",V:V,">="&DATE(2012,4,23),V:V,"<="&DATE(2012,5,18),C:C,"<>JPN")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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