Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I get the percentage of total for a large data set

When subtotaling a column based on a field change in another column can Excel
also calculate percentages for each value that makes up the sub total.

What I realy need are the percentages

EXAMPLE
NAME1 100
NAME1 100
NAME1 100
NAME1 100
NAME2 300
NAME2 300

DESIRED RESULT
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
$400
NAME2 300 .5
NAME2 300 .5
$600
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default How do I get the percentage of total for a large data set

Instead of subtotaling use a pivot table. That functionallity is built right
into a pivot table. Data that is easily subtotaled is ideal for pivot tables.
Look them up in the help files to get started and get back to us if you have
any difficulty.
--
HTH...

Jim Thomlinson


"mdeanda" wrote:

When subtotaling a column based on a field change in another column can Excel
also calculate percentages for each value that makes up the sub total.

What I realy need are the percentages

EXAMPLE
NAME1 100
NAME1 100
NAME1 100
NAME1 100
NAME2 300
NAME2 300

DESIRED RESULT
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
$400
NAME2 300 .5
NAME2 300 .5
$600

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I get the percentage of total for a large data set

Pivot Table: In the drop down box for "subtotals" I saw nothing that would
return a percentage. How would I complet this task.

Each row has other data that I need to send to another application so I need
the percentage figure on the the same line not below or above.

Thank You



"Jim Thomlinson" wrote:

Instead of subtotaling use a pivot table. That functionallity is built right
into a pivot table. Data that is easily subtotaled is ideal for pivot tables.
Look them up in the help files to get started and get back to us if you have
any difficulty.
--
HTH...

Jim Thomlinson


"mdeanda" wrote:

When subtotaling a column based on a field change in another column can Excel
also calculate percentages for each value that makes up the sub total.

What I realy need are the percentages

EXAMPLE
NAME1 100
NAME1 100
NAME1 100
NAME1 100
NAME2 300
NAME2 300

DESIRED RESULT
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
$400
NAME2 300 .5
NAME2 300 .5
$600

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default How do I get the percentage of total for a large data set

Sorry about taking so long to get back to you. Add the same field in twice.
Now on the second instance of the field under field settings select options
and now you can choose how you want to aggregate your data. In this case as %
of...
--
HTH...

Jim Thomlinson


"mdeanda" wrote:

Pivot Table: In the drop down box for "subtotals" I saw nothing that would
return a percentage. How would I complet this task.

Each row has other data that I need to send to another application so I need
the percentage figure on the the same line not below or above.

Thank You



"Jim Thomlinson" wrote:

Instead of subtotaling use a pivot table. That functionallity is built right
into a pivot table. Data that is easily subtotaled is ideal for pivot tables.
Look them up in the help files to get started and get back to us if you have
any difficulty.
--
HTH...

Jim Thomlinson


"mdeanda" wrote:

When subtotaling a column based on a field change in another column can Excel
also calculate percentages for each value that makes up the sub total.

What I realy need are the percentages

EXAMPLE
NAME1 100
NAME1 100
NAME1 100
NAME1 100
NAME2 300
NAME2 300

DESIRED RESULT
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
$400
NAME2 300 .5
NAME2 300 .5
$600

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I get the percentage of total for a large data set

Pivot Table: In the drop down box for "subtotals" I saw nothing that would
return a percentage. How would I complet this task.

Each row has other data that I need to send to another application so I need
the percentage figure on the the same line not below or above.

Thank You

"mdeanda" wrote:

When subtotaling a column based on a field change in another column can Excel
also calculate percentages for each value that makes up the sub total.

What I realy need are the percentages

EXAMPLE
NAME1 100
NAME1 100
NAME1 100
NAME1 100
NAME2 300
NAME2 300

DESIRED RESULT
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
$400
NAME2 300 .5
NAME2 300 .5
$600



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default How do I get the percentage of total for a large data set

Hi,
I am not sure if this may not be more than you want, but I have a fair
amount of analyis before, so I thought I would share it with you.
First just run regular subtotals with the change being the Name, this will
give you two subtotals and a Grand Total.

Next is a formula,
Layout:
Name Amt
NAME1 100 25% 10% =FIXED(+B2/$B$6*100,0)&"%
"&FIXED(+B2/$B$10*100,0)&"%"
NAME1 100 25% 10%
NAME1 100 25% 10%
NAME1 100 25% 10%
NAME1 Total 400 100% 40%
NAME2 300 50% 30%
NAME2 300 50% 30%
NAME2 Total 600 100% 60% =FIXED(+B9/$B$9*100,0)&"%
"&FIXED(+B9/$B$10*100,0)&"%"
Grand Total 1000 100% 100%
This gives you percent of each individual total and % of Grand Total.

Thanks,


"mdeanda" wrote:

Pivot Table: In the drop down box for "subtotals" I saw nothing that would
return a percentage. How would I complet this task.

Each row has other data that I need to send to another application so I need
the percentage figure on the the same line not below or above.

Thank You

"mdeanda" wrote:

When subtotaling a column based on a field change in another column can Excel
also calculate percentages for each value that makes up the sub total.

What I realy need are the percentages

EXAMPLE
NAME1 100
NAME1 100
NAME1 100
NAME1 100
NAME2 300
NAME2 300

DESIRED RESULT
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
NAME1 100 .25
$400
NAME2 300 .5
NAME2 300 .5
$600

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
Pie Chart - Percentage of a total? Lisa_g Charts and Charting in Excel 2 May 6th 23 07:41 PM
Calculating Percentage of Total macaskillh Excel Worksheet Functions 3 October 23rd 08 04:34 AM
Pivot table from CSV data, problem with percentage of total. Gloria Thrurk Excel Worksheet Functions 1 August 24th 06 02:45 PM
Percentage Discount Total mdj101 Excel Discussion (Misc queries) 1 May 18th 06 04:33 PM
show in a excel graphic a total percentage for 5 diff data fiels Julio Charts and Charting in Excel 1 September 1st 05 01:26 PM


All times are GMT +1. The time now is 03:58 AM.

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"