+ Reply to Thread
Results 1 to 4 of 4

switching layout of Calculated Fields in Pivot Table

  1. #1
    Registered User
    Join Date
    05-05-2008
    Posts
    3

    switching layout of Calculated Fields in Pivot Table

    I have a pivot table that calculates the number of hours of each type of time. By default excel puts these calculated field (based on fields that the pivot table pulls) as rows for the employee.

    I am looking for a way to put these field as columns either directly from the pivot table or a way to convert the data from the pivot table. See screenshots attached. xls1 is what I have, xls2 is what i would like.


    Thanks for anyone's help!
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    07-16-2007
    Posts
    43
    Once your table is set up, you can drag fields from the top to the side and vice-versa to switch the layout. It's really hard to explain (for me, anyway), but if you play with it (try dragging the labels for the fields to other spots), you should see how it works pretty quick.

    Brigitte

  3. #3
    Registered User
    Join Date
    05-05-2008
    Posts
    3
    Thank you, but I have tried this, however it gives me the error that these fields cannot be moved to the columns as it is not a valid field. I'm sure this is because they are calculated fields from the original data from the pivot table. The pivot table totals the sums of these numbers for me.
    Attached Images Attached Images
    Last edited by torlok2002; 05-05-2008 at 03:39 PM. Reason: attached file

  4. #4
    Registered User
    Join Date
    05-05-2008
    Posts
    3
    Also another question. I have an IF statement as a calculated field in the pivot table. The formula is: OT Paid =IF('Hours Paid'>40,('Hours Paid'- 40),0). This works great until it calculates the total sum of OT Paid ( Total Sum of OT Paid 6324.5)

    What it is doing is taking the total sum of hours worked, sees that it is over 40, and take the sum of total hours - 40. Here are my totals:

    Total Sum of Normal Pay -332
    Total Sum of OT Paid 6324.5
    Total Sum of Vacation Paid 372
    Total Sum of Holiday Paid 0
    Total Sum of Hours Paid 6364.5

    Is there a way to get it to just sum the OT listed for each employee, rather than have it perform the IF statement on the Total for the Sums?

+ 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