+ Reply to Thread
Results 1 to 3 of 3

Average IF

  1. #1
    Registered User
    Join Date
    03-13-2007
    Posts
    71

    Average IF

    Morning,

    Is there a function which would allow me to "Average IF" in the same way you would use SUMIF.

    I am using this formula for SUMIF, and I want it to be exactly the same, except it averages the data rather than sums.

    =SUMIF($Q$17:$Q$65536,"February",$AB$17:$AB$65536)

    Regards

    Howardjo

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    You can use

    =AVERAGE(IF($Q$17:$Q$65536="February",$AB$17:$AB$65536))

    which is an array formula and, as such, needs to be confirmed with CTRL+SHIFT+ENTER, or you can divide the SUMIF by a COUNTIF like this

    =SUMIF($Q$17:$Q$65536,"February",$AB$17:$AB$65536)/COUNTIF($Q$17:$Q$65536,"February")

  3. #3
    Registered User
    Join Date
    03-13-2007
    Posts
    71
    Thanks for your reply. This has solved the issue.

    Regards

    Howardjo

+ 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