Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jim
 
Posts: n/a
Default Pivot Table Calculations

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Table Calculations


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   Report Post  
Posted to microsoft.public.excel.misc
jim jim is offline
external usenet poster
 
Posts: 11
Default Pivot Table Calculations

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Table Calculations


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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Table Calculations


"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   Report Post  
Posted to microsoft.public.excel.misc
jim jim is offline
external usenet poster
 
Posts: 11
Default Pivot Table Calculations

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2k Pivot Table refresh scenario GDCross Excel Discussion (Misc queries) 1 June 1st 06 09:12 PM
pivot table sort entries that don't yet appear in table rachael Excel Discussion (Misc queries) 11 September 19th 05 11:29 PM
Creating Calculations Within a Pivot Table Field MinhPhan Excel Discussion (Misc queries) 0 March 27th 05 05:57 PM
Setting up "Year to Date" Calculations in a Pivot Table Project64 Excel Worksheet Functions 1 March 22nd 05 01:50 AM
pivot table calculations Joe S. Excel Discussion (Misc queries) 1 December 9th 04 07:46 PM


All times are GMT +1. The time now is 01:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"