Solved

Using Excel to Create the customers profile

Posted on 2012-03-29
2
158 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now