+ Reply to Thread
Results 1 to 4 of 4

complicated data calculation problem

  1. #1
    Registered User
    Join Date
    01-27-2010
    Location
    germany
    MS-Off Ver
    Excel 2007
    Posts
    29

    complicated data calculation problem

    Hello Excel community.
    Have complicated problem and I am stuck with my research.

    Original data comes in three columns - 1.) 12 months worth of days. 2.) 20 names 3.) each day a name has assigned 0, 1 or 2 points.

    Out of the three columns I created a pivot table - Names in rows, dates in columns and points in values. As it is imperative that the data keeps its integrity – witch day witch name has how many points.


    So here is what I need excel to do:
    For example let’s take one name – as mentioned above each day it gets assigned zero, one or two points. So the points themselves are one giant string.

    I need excel to go through all the points (chronologically according to the dates) and in each cell display the sum of all the previous points.
    The goal is so I can see how many points respective name has earned up until the date I am interested.


    In the attached file there is an example of original pivot table and the desired one.

    I think it can be done by inserting appropriate formula in the Pivot table`s calculated item. But as I don’t know Jack about excel, there might be better and faster ways to work the data and get the results I need. ( as there are 10 sets of tables I need to make)
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: complicated data calculation problem

    I would add a new column to the original data. Assuming the names are in A and the Values are in B.....

    =SUMIF($A2:A2,A2,$B$2:B2)

    Then bring that column/field over to your pivot table. Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    01-27-2010
    Location
    germany
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: complicated data calculation problem

    nope.. that just keeps showing the calculation of the first row. ( i know how to drag formulas down)

    the problem with the original 3 data colums - not always the point value zero shows up for a certain name in certain date.
    thats why i choose pivot so all the blanks can easly be changed to zero.

    here is a piece of original data (blank means zero):
    Attached Files Attached Files
    Last edited by zobufeja; 08-10-2010 at 03:47 PM.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: complicated data calculation problem

    Oops, sorry, forgot a $

    =SUMIF($A$2:$A2,A2,$B$2:B2)

+ 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