Creating useful spreadsheets is usually a matter of combining several techniques. In this tutorial, you’ll learn how to create a table to hold a small database of information. Then, you’ll create a second table to count the number of records that have certain criteria. Finally, you’ll use the second table to create a pie chart. Each element updates automatically as new records are added or changed.
Hi this is Gary with MacMost Now. On today’s episode let’s take a look at a variety of techniques in Numbers.
So let’s create a Numbers document that has a short database in it and then count the items in the database depending upon some criteria.
For instance, let me just put some random names in and then I’m going to put in here something like say what type of user they are, maybe this is for a seminar. I’m going to add a few more names here so I’ve got twenty rows in my example.
Now one of the first things you want to do is that you want to make sure that you create a good table. In this case I’ve got all these extra blank cells. I don’t want to have that. I’m going to select the table here and I’m going to shorten it. I’m going to grab the columns over here on the right and drag them in. I’m going to scroll down and grab the bottom there and drag that up. So now I’ve just got what I need. I have a header row here. I can put Name in the header and Class there.
Notice that since this is a database it behaves like one. If I am in this row, I’ve just typed intermediate, I can actually hit return and it will give me another row there. So I can continue to add names to this one table here.
I can even name this table. I’m going to instead of Table 1 I’m going to click on it here and call it Attendees.
Now let’s create a second table. The second table is going to contain a count of how many people are in each class. So I’m going to copy and paste the class types here into the header left column, Advanced, Intermediate, Beginner, and I’m going to put the Count there. Then I’m going to shrink this down to just the size I need. Nothing extra.
Now to get the data in there I’m going to use the Count If function. That will give me the number of people in each class. First parameter after the parenthesis there, the left parenthesis, I’m going to do V. You can see it grabs the entire row here and it puts it in. It has no problem with this being one table and this being another. The second thing I want is to be able to compare it to the word Advanced. So I’m going to put in quotes “=Advanced” and close the parenthesis there.
The result is that I get 6 right there. So there are six in the Advanced class. I’m going to copy and paste this in these two places here. But these are both also counting advanced so I want to go in and edit them and change it. Intermediate there is four in that class and beginner there is nine in that class.
This updates as you change things. So if I were to change like say one intermediate person to advanced you can see it updates. Also if I were to add a new row there you can see it updates there as well.
So the next thing is let’s create a pie chart. So I’m going to select this entire table here and then just go in and say give me a pie chart. I’s going to automatically take what I have selected here and apply that to a pie chart. You can see how it has done that.
So now the great thing is that everything updates automatically. I can go in here and change this chart. Let me go in and name this table to be named and call this Counts and call this Pie Count. Of course it gives me the title there so I probably want to name it something better than that. But I can go ahead in here and change somebody to another class and you can see it adjusts not only this table here but also the pie chart itself. It is even animated as the change is applied.
So I have talked about each of these techniques before but putting them all together you can see how you can use Numbers to get some useful results.
Hope you found this useful. Until next time this is Gary with MacMost Now.