+ Reply to Thread
Results 1 to 2 of 2

Multiple Sheets Multiple Criteria Average Data

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010 Mac
    Posts
    1

    Exclamation Multiple Sheets Multiple Criteria Average Data

    Dear excelforum,

    what i have is a workbook with 4 sheets namely summary, A, B, C. What i want to do i average each student achievement in term of P01 to P012?

    Each sheet will contain different student and different PO Achievement. Not all the PO achievement will be available for each sheet, so i left them empty.

    What i want to do is, for example, Joe will have on sheet A, PO3 =0.65 and Sheet B, P03=0.65. So the average would be (0.65+0.65)/2=0.65 .

    At this point i have manage to make a sum of all the PO using =IFERROR((SUMPRODUCT(SUMIFS(INDIRECT("'"&$P$2:$P$4&"'!B2:B350"),INDIRECT("'"&$P$2:$P$4&"'!A2:A350"),A2))),0)

    . However, i'm currently struggling to get the average since i couldn't get the sum of each PO for each student. It will be diff for each student. For example Joe will have two time of P03 but jack will only have 1 P03 throughout the three sheets. This is only 3 sheets. I have 400 names to add with 25 different sheet.

    Any help appreciated? Here is the file. Calc1.xlsx

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Multiple Sheets Multiple Criteria Average Data

    I'm amazed at the lengths people will go through trying to deal with data on separate worksheets when they don't HAVE to do that.

    Copy all your data from the 25 sheets into a single "database" sheet where you can now create simple and easy reports, filters, pivots, formulas... all relating to the single set of data. This is a present you give to yourself.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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