Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default Pie of pie chart with 2 data series

Hi,

I am trying to process the results from a survey. For a particular question,
the surveyed people can answer with (say) yes, no or partially. They also
can justify their answer, with (say) something like cheaper, simpler or
don't know. I would like to have a pie chart with the yes, no and partially
answers to see how many have responded with each choice, but then also a pie
of pie chart with for the yes answers (for example) the distribution of the
justifications.

Here's what I have done so far (this is just a proof of concept with a very
small data set). The headings yes/no/partially/justification are in B1:E1.
Then in B2:E10, I have the answers. In the B to D column, there is a 1 when
this was the chosen answer (and blank for the other two) and in the E
column, there is the actual justification (cheaper/simpler/don't know). I
have summed up the responses in B11:D11.

Then to count how many have justified their yes answer by simpler, cheaper
or don't know, I am using DCOUNTA. So I have copied the headings in B13:E13,
B16:E16 and B19:E19. B14, B17 and B20 are all equal to one, while E14 is
"simpler", E17 is "cheaper" and E20 is "don't know". Finally, I have the
following formulae in F13, F16 and F19:
F13: =DCOUNTA($B$1:$E$10,$B$1,B13:E14)
F16: =DCOUNTA($B$1:$E$10,$B$1,B16:E17)
F19: =DCOUNTA($B$1:$E$10,$B$1,B19:E20)

and that gives me the right answers, i.e. how many people have responded yes
because it was cheaper, how many have responded yes because it was simpler,
etc... My problem now is to create the pie of pie chart. The chart template
in Excel doesn't allow you to have a different data set for the sub-pie
chart. Does anybody know how to do this or can maybe suggest a better way of
doing this? I hope I was clear enough about what I was trying to do. I can
send you the actual Excel spreadsheet if that makes it any easier.

Many thanks in advance,

Arnaud


  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default Pie of pie chart with 2 data series

Hi,

See Jon's article for more information on pie of pie
http://pubs.logicalexpressions.com/P...cle.asp?ID=471

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Arnaud Miege" wrote in message
...
Hi,

I am trying to process the results from a survey. For a particular
question, the surveyed people can answer with (say) yes, no or partially.
They also can justify their answer, with (say) something like cheaper,
simpler or don't know. I would like to have a pie chart with the yes, no
and partially answers to see how many have responded with each choice, but
then also a pie of pie chart with for the yes answers (for example) the
distribution of the justifications.

Here's what I have done so far (this is just a proof of concept with a
very small data set). The headings yes/no/partially/justification are in
B1:E1. Then in B2:E10, I have the answers. In the B to D column, there is
a 1 when this was the chosen answer (and blank for the other two) and in
the E column, there is the actual justification (cheaper/simpler/don't
know). I have summed up the responses in B11:D11.

Then to count how many have justified their yes answer by simpler, cheaper
or don't know, I am using DCOUNTA. So I have copied the headings in
B13:E13, B16:E16 and B19:E19. B14, B17 and B20 are all equal to one, while
E14 is "simpler", E17 is "cheaper" and E20 is "don't know". Finally, I
have the following formulae in F13, F16 and F19:
F13: =DCOUNTA($B$1:$E$10,$B$1,B13:E14)
F16: =DCOUNTA($B$1:$E$10,$B$1,B16:E17)
F19: =DCOUNTA($B$1:$E$10,$B$1,B19:E20)

and that gives me the right answers, i.e. how many people have responded
yes because it was cheaper, how many have responded yes because it was
simpler, etc... My problem now is to create the pie of pie chart. The
chart template in Excel doesn't allow you to have a different data set for
the sub-pie chart. Does anybody know how to do this or can maybe suggest a
better way of doing this? I hope I was clear enough about what I was
trying to do. I can send you the actual Excel spreadsheet if that makes it
any easier.

Many thanks in advance,

Arnaud


  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default Pie of pie chart with 2 data series

Thanks,

I managed to get something working based on the information in the article
you mentioned.

Arnaud

"Andy Pope" wrote in message
...
Hi,

See Jon's article for more information on pie of pie
http://pubs.logicalexpressions.com/P...cle.asp?ID=471

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Arnaud Miege" wrote in message
...
Hi,

I am trying to process the results from a survey. For a particular
question, the surveyed people can answer with (say) yes, no or partially.
They also can justify their answer, with (say) something like cheaper,
simpler or don't know. I would like to have a pie chart with the yes, no
and partially answers to see how many have responded with each choice,
but then also a pie of pie chart with for the yes answers (for example)
the distribution of the justifications.

Here's what I have done so far (this is just a proof of concept with a
very small data set). The headings yes/no/partially/justification are in
B1:E1. Then in B2:E10, I have the answers. In the B to D column, there is
a 1 when this was the chosen answer (and blank for the other two) and in
the E column, there is the actual justification (cheaper/simpler/don't
know). I have summed up the responses in B11:D11.

Then to count how many have justified their yes answer by simpler,
cheaper or don't know, I am using DCOUNTA. So I have copied the headings
in B13:E13, B16:E16 and B19:E19. B14, B17 and B20 are all equal to one,
while E14 is "simpler", E17 is "cheaper" and E20 is "don't know".
Finally, I have the following formulae in F13, F16 and F19:
F13: =DCOUNTA($B$1:$E$10,$B$1,B13:E14)
F16: =DCOUNTA($B$1:$E$10,$B$1,B16:E17)
F19: =DCOUNTA($B$1:$E$10,$B$1,B19:E20)

and that gives me the right answers, i.e. how many people have responded
yes because it was cheaper, how many have responded yes because it was
simpler, etc... My problem now is to create the pie of pie chart. The
chart template in Excel doesn't allow you to have a different data set
for the sub-pie chart. Does anybody know how to do this or can maybe
suggest a better way of doing this? I hope I was clear enough about what
I was trying to do. I can send you the actual Excel spreadsheet if that
makes it any easier.

Many thanks in advance,

Arnaud




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
chart with two data series and two colors for each data series bikash Charts and Charting in Excel 0 January 17th 08 02:04 AM
automatically expand chart data series as data is added jlarson Charts and Charting in Excel 1 March 9th 06 10:31 AM
Pie Chart with 3 data series? Craig Charts and Charting in Excel 4 December 19th 05 08:15 PM
chart data series -- plot a table as a single series hjc Charts and Charting in Excel 7 September 20th 05 05:52 PM
How do I make the XY chart with two data series? Jen Kulak Charts and Charting in Excel 1 May 7th 05 02:53 PM


All times are GMT +1. The time now is 08:10 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"