+ Reply to Thread
Results 1 to 4 of 4

PowerPivot Help: Organizing Data using a Filter

  1. #1
    Registered User
    Join Date
    06-11-2016
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    4

    Question PowerPivot Help: Organizing Data using a Filter

    Capture.PNG

    Hi, I'm an Excel beginner that needs help with a project. As you can see, I have a model with "student names" (aa bb, cc dd ... kk ll) in rows and "questions" (q1, q2 ... q6) in columns. Randomly assigned to each question is a category (1, 2, 3). The values 1 and 0 indicate whether the student answered the question correctly.

    Basically, I need to use PowerPivot to find the breakdown of how each student did on each category of questions on a much larger scale (45 questions, 30 students, categories within categories). In Excel, I was able to do this, using sumif statements, but I'm having trouble translating it into PowerPivot so that it is automated. The major problem that I keep coming across is that, from what I can tell, PowerPivot can only find sums in columns, but equations can only be inputted into columns as well.

    Any help would be greatly appreciated. Thanks for your time.

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,394

    Re: PowerPivot Help: Organizing Data using a Filter

    Chris,

    Attached does what you want using SUMIFS and Index/Match

    O2, copied across and down, has the following formula:

    =SUMIFS(INDEX($B$3:$K$20,MATCH($N2,$A$3:$A$20,0),0),$B$2:$K$2,1) (Adjust the final "1" to 2 or 3 as you carry it across)

    Look in the main data (B3:K20) and add up how many Questions were Category 1 in B2:K2 that were answered correctly by whichever student name in A3:A20 matches the one in N2.

    All you need to do is adjust the ranges to accomodate your "real" scale of rows and columns.

    Ochimus
    Attached Files Attached Files
    Last edited by Ochimus; 06-11-2016 at 02:37 PM.

  3. #3
    Registered User
    Join Date
    06-11-2016
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    4

    Re: PowerPivot Help: Organizing Data using a Filter

    Wow, that was really great, but sumif isn't a valid function in PowerPivot. Is there a way to do this so that it can translate to PowerPivot, perhaps by using a "calculate" function? Thanks for your help; it gave me a new insight to this problem.

  4. #4
    Registered User
    Join Date
    06-11-2016
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    4

    Re: PowerPivot Help: Organizing Data using a Filter

    Bumping for Visibility

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 05-06-2016, 02:37 PM
  2. Replies: 4
    Last Post: 07-23-2015, 03:35 PM
  3. Filter doesn't work after refresh PowerPivot Data Model
    By bluesky63 in forum Excel General
    Replies: 0
    Last Post: 05-26-2015, 10:43 PM
  4. Replies: 2
    Last Post: 06-02-2014, 09:34 AM
  5. Replies: 0
    Last Post: 11-20-2012, 05:34 AM
  6. Re-organizing data
    By robbo46 in forum Excel General
    Replies: 3
    Last Post: 09-09-2011, 07:58 AM
  7. Help with organizing data
    By Eaglered in forum Excel General
    Replies: 2
    Last Post: 05-18-2005, 03:06 PM

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