If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Pie Chart question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-19-05, 10:39
katrin_king katrin_king is offline
Registered User
 
Join Date: Jan 2005
Posts: 13
Unhappy Pie Chart question

Hi Experts,

I have a table (spreadsheet) with following fields:

ID (char)
Agecat (char)
Gender (char)
Indicator (integer)

ID Agecat Gender Indicator
1 A F 0
2 B F 1
3 A F 1
4 C F 0
5 C F 1
6 B M 0
7 B M 1
8 D M 1
9 C M 0
10 C M 1


1. I need to show a percentage of Gender By Age for those who have an indicator =1.
2. I need this percentage among all other members of the table.
3. I need to represent it in a PIE CHART format with 3 different colors: 1st is for Female, 2nd for Male, third for all other population (with indicator=0)

Could you please give me a hand? I have beaten my head trying to create a pie chart

Thank you in advance,

Katrin
Reply With Quote
  #2 (permalink)  
Old 10-20-05, 12:54
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy.

Can you attach a sample file to work with?
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 10-21-05, 08:52
katrin_king katrin_king is offline
Registered User
 
Join Date: Jan 2005
Posts: 13
Source file sample for pie chart

Shades,

Attached please find my excel file
Attached Files
File Type: zip comb.zip (19.9 KB, 16 views)
Reply With Quote
  #4 (permalink)  
Old 10-21-05, 09:56
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
I think the percentages can be achieved using a Pivot Table (see Pivot2 on attachment).

The third is a little confusing (for me). Do you want a pie chart for each age group? But maybe the Pivot will give you what you want.
Attached Files
File Type: zip combRev1.zip (4.2 KB, 26 views)
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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