Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm wondering if it's possible to perform a specific calculation within
a pivot table. Here's the summary: I have a query that returns numeric values in columns called "A," "B," and "C" for each user in a list. The Grand Total column is the sum of A, B, and C for each user. I'm interested in showing the percentage of a user's values belonging to C (e.g. C / SUM(A+B+C)). Is it possible to do this without introducing any sort of additional sheet or helper cells? Thanks for any input. jim |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() It sounds like Formulas Calculated Field will do what you need . -- steven1001 ------------------------------------------------------------------------ steven1001's Profile: http://www.excelforum.com/member.php...o&userid=30757 View this thread: http://www.excelforum.com/showthread...hreadid=557070 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for the reply. This doesn't quite solve the problem though.
Let me elaborate a little more. I have a column in a spreadsheet that will have three values -- A, B, or C for each of several people. Each person will appear in the list multiple times (so Bob could have 100 instances in total, for example). When I plug this into a pivot I'd like to be able to see what percentage of the total for each person the value "C" makes up (so Bob's total count of "C" over the total no. of times Bob appears in the list. There are other ways to get this information, but for my purposes, a PivotTable would be the most favorable solution. Jim steven1001 wrote: It sounds like Formulas Calculated Field will do what you need . -- steven1001 ------------------------------------------------------------------------ steven1001's Profile: http://www.excelforum.com/member.php...o&userid=30757 View this thread: http://www.excelforum.com/showthread...hreadid=557070 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() You can use Pivot Table. But before you create it, you should add a second column that will first calculate percentage of the overall total. You will also need a "Grand Total" cell at the bottom of the list (even if it is in in cell B65536 (the last row). For example. Column A: Names of persons Column B: Your values Column C: Percentage of "Grand Total" (i.e. =B4/$B$65536) If you do not want to see column C simply hide it. Then create a Pivot Table and select area "A1:C65535" (note that last row is NOT included). Pivot Table would then summarize columns B and C where column C summaries will be actual percentages of the sum, as you wanted. Heniek -- heniek ------------------------------------------------------------------------ heniek's Profile: http://www.excelforum.com/member.php...o&userid=34863 View this thread: http://www.excelforum.com/showthread...hreadid=557070 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "Is it possible to do this without introducing any sort of additional sheet or helper cells?" I could not do it without helper cells :-( .. perhaps one of the gurus can advise? I was able to do it by putting a value of 1 beside each entry, then doing a sumif of that value by the person's name in the next column, then divide the "1" by the sumif value in a third column... put the third column value in the pivot table and sum it and express as a %. regards.. -- steven1001 ------------------------------------------------------------------------ steven1001's Profile: http://www.excelforum.com/member.php...o&userid=30757 View this thread: http://www.excelforum.com/showthread...hreadid=557070 |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks all. I wound up adding a helper column to the data output. I
did learn about using pivot table calculations through this, though. So big thanks for all the feedback. jim steven1001 wrote: "Is it possible to do this without introducing any sort of additional sheet or helper cells?" I could not do it without helper cells :-( . perhaps one of the gurus can advise? I was able to do it by putting a value of 1 beside each entry, then doing a sumif of that value by the person's name in the next column, then divide the "1" by the sumif value in a third column... put the third column value in the pivot table and sum it and express as a %. regards.. -- steven1001 ------------------------------------------------------------------------ steven1001's Profile: http://www.excelforum.com/member.php...o&userid=30757 View this thread: http://www.excelforum.com/showthread...hreadid=557070 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2k Pivot Table refresh scenario | Excel Discussion (Misc queries) | |||
pivot table sort entries that don't yet appear in table | Excel Discussion (Misc queries) | |||
Creating Calculations Within a Pivot Table Field | Excel Discussion (Misc queries) | |||
Setting up "Year to Date" Calculations in a Pivot Table | Excel Worksheet Functions | |||
pivot table calculations | Excel Discussion (Misc queries) |