Solved

Using Excel to Create the customers profile

Posted on 2012-03-29
2
164 Views
Last Modified: 2012-08-13
Hello
I have an excel sheet like this example
Name      City       State      Age      Occupation
Jack      Boston      MA       25-40      Student
Paul      Miami      FL      40-50      Vetern
Nick      Boston      MA      40-50      Veteran
Nick      Los Angeles      CA      25-40      Business owner
                        


I want to filter the spreadsheet in an order to be able to create the customer profile for example  how many register from a specific State what is the average age and  occupation. After that a want to create a pie diagram to present the results.  
thank you
0
Comment
Question by:kriftsi
  • 2
2 Comments
 
LVL 81

Accepted Solution

by:
byundt earned 400 total points
ID: 37785589
Excel has a tool called PivotChart that is perfect for your application.

Put your data in a Table
1) Select any cell in your data
2) Use the Insert...Table menu item (and click the prompt OK) to turn the data into a Table. Make sure the box for "My table has headers" is checked.

Create a PivotTable with PivotChart
1) Select any cell in your data
2) Use the Insert...PivotTable...PivotChart menu item and click OK in the resulting wizard. This will create a blank PivotTable on a new worksheet.

1) Drag State into the Axis field
2) Drag Name into the Values field
3) Right-click the chart and choose Change Chart Type ....Pie chart

Repeat the steps to create a PivotTable with PivotChart on previous page plus this one for Age and Occupation
PivotChartQ27655187.xlsx
0
 
LVL 81

Expert Comment

by:byundt
ID: 37785593
The preceding instructions are written around Excel 2007 and 2010.

Excel 2003 and earlier will vary somewhat because there is no Table feature. You can use a dynamic named range instead with a Refers to formula like:
=$A$1:INDEX($E:$E,COUNTA($E:$E))

If the wizard uses a fixed address for the data, replace it with the name of the Table (or the dynamic named range).

If you add, delete or change data, you will need to right-click your charts and choose Refresh to get them to update.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My experience with Windows 10 over a one year period and suggestions for smooth operation
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question