+ Reply to Thread
Results 1 to 5 of 5

Working out the average after checking two columns.

  1. #1
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Working out the average after checking two columns.

    Afternoon,

    I have been using this formula

    =AVERAGEIF(INPUT!C$2:C$9999,"Year 7",INPUT!F$2:F$999)

    to work out the average of column F if the value of Year 7 is in column c.

    What I would like to do is change this so it only works out the avergae of column f, if Year 7 is in column c, and also M is in column B.

    Any suggestions would be greatfully received.
    Last edited by Cmorgan; 09-08-2012 at 01:41 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Working out the average after checking two columns.

    You can use the AVERAGEIFS function. Not having XL2010 here I'm not sure about the syntax

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Working out the average after checking two columns.

    Try

    =AVERAGEIFS(INPUT!F$2:F$999,INPUT!C$2:C$9999,"Year 7",INPUT!B$2:B$9999,"M")

    http://www.excelfunctions.net/Excel-...-Function.html

  4. #4
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Working out the average after checking two columns.

    Thanks for this.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Working out the average after checking two columns.

    You're welcome. Thanks for the 'star tap'.

+ 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