+ Reply to Thread
Results 1 to 4 of 4

AverageIf multiple conditions

  1. #1
    Registered User
    Join Date
    10-12-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    32

    AverageIf multiple conditions

    Hi Excel Gods-

    I currently have this equation:

    =AVERAGEIF($B$2:$B$900000,">="&L5,$C$2:$C$900000)

    Where L5 = 100

    I'm interested in having the formula averageif B column value is between L5 & L6.

    Where L6 = 200

    So I want it to find all values in B$ that are between >= 100 but < 200, and then average their C$ counterparts.

    What's the best way to do something like this?

    Thanks!
    Last edited by NBVC; 10-28-2009 at 07:53 AM.

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

    Re: AverageIf Help!

    Try:

    =AVERAGEIFS($C$2:$C$900000,$B$2:$B$900000,">="&L5,$B$2:$B$900000,"<="&L6)
    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.

  3. #3
    Registered User
    Join Date
    10-12-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: AverageIf multiple conditions

    Perfect! Maybe someone could explain to me why that works?

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

    Re: AverageIf multiple conditions

    Have you looked at AVERAGEIFS help in EXCEL Help?

    it allows multiple conditions..

    The first range is the averaging range, the next items are criteria ranges and criteria for each condition to be met.

+ 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