|
Post by sacteach on May 26, 2015 1:57:56 GMT
I'm slowly learning more and more about Excel and trying to take advantage of its features. Here is my situation.
My 8th grade BBQ is this Wednesday. I have an excel spreadsheet with the following data: Student Name, ID number, Period 4 teacher, Food selection (hamburger, hot dog, veggie burger, etc)
I've sorted the spreadsheet by Period 4 teacher, then by food. Each teacher will get a printout of their class and will give the students different colored wristbands based on their food choice. Each class obviously has a different number of hamburgers, hot dogs, etc.
Is there an easy way to do a count on each sheet of the number of each item: Mrs. Smith: Hot Dogs = 2, Hamburgers = 7, etc. Mr. Jones: Hot Dogs = 5, Hamburgers = 12, etc.
I figured out how to do a total count of each item, but I'd like it broken down by teacher (each teacher is on a separate page) if possible. If not, I can just draw lines and put the number next to the column like I did last year, but if there is an easier way, that would be great!
|
|
|
Post by disneypal on May 26, 2015 2:09:34 GMT
I would do a pivot table
Put Period 4 Teacher as the Row, Put Food Selection as the Column then made sure the data is set to count and then you should be able to see the number of each food selection for each teacher.
Hope that helps.
|
|
|
Post by sacteach on May 26, 2015 2:22:01 GMT
Oh... I've never done a pivot table, that sounds fun! Off to go read up on pivot tables
|
|
|
Post by sacteach on May 26, 2015 3:51:33 GMT
I read up a little on pivot tables and it sounds like that would give me a summary for each teacher, but wouldn't necessarily put a specific teacher's info on the page with their class info. Basically I want to print one sheet per teacher that lists all of their students and their food choice and then summarizes the food choices somewhere on the same sheet of paper indicating the number of each food choice for that specific class.
For now, I'll just add it by hand and write the number to the side, but by this time next year, I'll have it figured out.
|
|
|
Post by twinzmommy on May 26, 2015 5:30:48 GMT
You can actually do what you are wanting to do with a pivot table. You first create the pivot table as disneypal mentioned above. Then drag the Period 4 teacher into the filters box. In the top row of your pivot table it will show Period 4 Teacher (All) and a little arrow. Click on the arrow then select which teacher you want that page to be for. It will just show that teacher's information on the page. You will create a new pivot table for each teacher and it will open as a separate tab(page) for each one with just their information. Hopefully that makes sense.
|
|