+ Reply to Thread
Results 1 to 3 of 3

AVERAGEIF Formula on an array of data

Hybrid View

  1. #1
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: AVERAGEIF Formula on an array of data

    Hello Shoto, try this.

    Consider the data is in A2:E10. A15:A17 is names, like Peer, Manager & Report.

    In B15, then copy down

    =ROUND(SUMPRODUCT((A$2:A$10=A15)*COLUMN(B$2:E$2)^0,B$2:E$10)/SUMPRODUCT((A$2:A$10=A15)*ISNUMBER(B$2:E$10)),1)
    COLUMN(B$2:E$2)^0 used here to equalize the SUMPRODUCT dimension to avoid any multiplication by text. So adjust this accordingly.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  2. #2
    Registered User
    Join Date
    04-18-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: AVERAGEIF Formula on an array of data

    Hi Haseeb

    Many thanks for your suggestion!

    At first test it seems to work, although I need to do some homework to fully understand what it is doing!

    I will run some trials tonight, hopefully it is the solution I am looking for.

    Much much much appreciated.

    ST

+ 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