Tuesday, September 20, 2011

Excel Gradebook for Intermediate Users: Part III, Building Dynamic Graphs

Hey! You came back. I'm glad the IF/INDEX/MATCH combo didn't scare you off, because you're going to need it again for this final tutorial. But hey, you're turning into a real pro with your fancy-schmancy reporting tool. No harm in putting in a bit more practice, right?

If you need some review, have a look at the posts for Part I and Part II of the Intermediate series. Remember that you can download the workbook here, if you want to play the home game. And you can always pop some corn and hang out on my YouTube Channel, should you find yourself in need of seeing things again from the very beginning.

Okay, back to work.

First up is some housekeeping on the Formulas worksheet. We're going to place formulas here for the dynamic graph data. The graphs will appear on the Report. They are considered to be "dynamic" because they can autoupdate based on changes to the other worksheets. We had dynamic data and graphs in our Beginner gradebook, but we just used the space below student scores. Where you put this data is really a matter of personal preference---Excel doesn't care. If I have more than one worksheet feeding a dashboard report, I like the formulas for it on their own worksheet. It helps me stay organized and keeps the workbook looking clean. Feel free to do whatever works best for you.

For each of the four reported standards, I'm going to create a space for the student scores and then on another row, a place for the end of quarter grades. Then, it's time to add the IF/INDEX/MATCH functions.


The formula for the first score for the first standard is =IF(Report!$C$4="P1 Biology",INDEX('P1 Biology'!C$8:C$17,MATCH(Report!$C$6,P1Biology,0)),INDEX('P2 Chemistry'!C$8:C$17,MATCH(Report!$C$6,P2Chemistry,0)))  This is identical to the formulas you used in Part II to display a student's first name and current score, with a couple of minor changes (highlighted below):
=IF(Report!$C$4="P1 Biology",INDEX('P1 Biology'!C$8:C$17,MATCH(Report!$C$6,P1Biology,0)),INDEX('P2 Chemistry'!C$8:C$17,MATCH(Report!$C$6,P2Chemistry,0)))

What's the deal? The "C" column is specific to the column of data from the worksheets. This will change as we move across the sheets with the scores, but the rows (8 - 17) will not. Therefore, there is a "$" symbol before the row numbers to "lock" these and create absolute references. The columns can be relative and move when we fill to the right. Secondly, I've had to add Report! before the cells associated with the class and last name for the student. We didn't have to do this last time because the formulas were on the Report worksheet already. If we don't add it now, Excel will think we're talking about cells on the Formulas worksheet.

Okay, now fill the formula to the right. How many cells?  Well, the first biology standard occupies Columns C - I (7 columns) and chemistry C - J (8 columns). Since we're going to have to draw from one set of dynamic data for our graphs, we need 8 columns total. So, pull your formula over for 7 more columns. Alas, we're going to have alter the last one slightly. Why? Because even though there is data in the "J" column on the biology spreadsheet, it doesn't belong with this data set. Fortunately, this is very simple. Just delete the first INDEX/MATCH function and replace it with "". The "" tells Excel to leave the cell blank. Your formula will look like this:
=IF(Report!$C$4="P1 Biology","",INDEX('P2 Chemistry'!J$8:J$17,MATCH(Report!$C$6,P2Chemistry,0)))

If you're wondering if you can just use a simple INDEX/MATCH function here and skip the whole IF part, well, that would be nice. If you do that, then Excel will give you an error anytime the Report is set for a biology student. You can use another formula to eliminate displaying the error (we'll cover that another time), but why bother when you can just use the double quotes to tell Excel to leave things blank?

You're all set for the first line graph on the Report. Let's get the bar graph set up. For the first standard to be reported, only Chemistry has both 1st and 2nd quarter grades---so it's the only one we need to set up. We can use the same equation we just used (leaving the "" for Biology).

Finally, add "3" in the rows below each score. Remember from our beginner series that this will allow us to add a line for "at standard performance" to each graph. When you've done this, your worksheet will look something like this (depending upon which class/student you have selected):


Get to work setting up the information for the other three standards. Remember to pay attention to how many columns you need and when you might need blank data.

Your last step is to go back to the Report and create the graphs, just as you did for the Beginner workbook. (Don't remember how? Go here.)

If you want to check your work, you can download a finished version of the gradebook here. The last YouTube video in this series is below for your edification and enjoyment. Let me know if you have questions or need help. We'll look at some advanced strategies for building a gradebook soon. Keep practicing!

Sunday, September 18, 2011

Excel Gradebook for Intermediate Users: Part II, Using the IF Function

In Part I of this Intermediate series for Roll Your Own Gradebook, we took some time to get organized. We added a worksheet to manage some of the ranges and formulas we need and created two data validation lists---one for sorting our information by class period and another for sorting by the last names of students in each class. Now it's time to get going on the rest of the report.

We'll get started with the basic version of the "IF" formula first. An "IF" formula tells Excel what to do based on whether the comparison is true or false. The first one we'll do is in cell B13. The formula will look like this: =IF($C$4="P1 Biology",Formulas!B2,Formulas!C2)  We are telling Excel to compare the information in cell C4 with the text "P1 Biology." If these two items are the same (true), then Excel should use the information from the first cell with our biology standards. But, if "P1 Biology" isn't selected (false), it automatically picks the first chemistry standard. We don't have to tell Excel something special just for chemistry. Because we just have two options at this point, we can just go with biology or not biology as options. (Want to know what to do if you have more than two choices? We'll tackle that in the Advanced Gradebook in a future post.)


Now, click on the bottom righthand corner of the cell and fill down to complete the three cells below.

You're ready for the big leagues now. We are going to combine our brand-new knowledge of the "IF" statement with our old knowledge of the "INDEX" and "MATCH" functions. Go back up to cell G6---the space for a student's first name. Don't freak out when you see this next formula, okay?

Are you sitting down?

I promise, everything will be fine.

You trust me, don't you?

Deep breath. Here we go:
=IF(C4="P1 Biology",INDEX('P1 Biology'!B8:B17,MATCH(C6,P1Biology,0)),INDEX('P2 Chemistry'!B8:B17,MATCH(C6,P2Chemistry,0)))
Congratulations---you've just put the INDEX/MATCH formula from the beginner's series into the IF statement you used above. You're telling Excel that if the report is for P1 Biology, then it should index the list of first names on the P1 Biology worksheet and match them by using the last name shown on the dashboard...but if the report is not for P1 Biology, it should use the list of chemistry students. I know. It looks like a lot, but just take each piece at a time---little bites until, Lo and Behold!, you've eaten the whole elephant.



Now, take another deep breath and use the same formula to build the "Current Score" column for your report. The only things you have to change in the entire formula above are highlighted below. You just need the new column letters from the worksheets.
=IF(C4="P1 Biology",INDEX('P1 Biology'!B8:B17,MATCH(C6,P1Biology,0)),INDEX('P2 Chemistry'!B8:B17,MATCH(C6,P2Chemistry,0)))

Whew!

That wasn't so bad, was it? (I feel like Mr. Rogers. "I knew you could!")

Watch the tutorial below to see the formulas in action. Come back next time for the coup de grĂ¢ce: using IF/INDEX/MATCH to create a dynamic table for our graphs.

Saturday, September 17, 2011

Excel Gradebook for Intermediate Users: Part I, Getting Organized

Welcome back to the Roll Your Own Gradebook (RYOG) series. This post builds on the lessons from the beginner's series (see Lesson One; Lesson Two, Part I; and Lesson Two, Part II). In those posts, we used a single worksheet with student scores and another as a reporting tool. Now it's time to step it up a bit. We're going to use two different classes of data and one reporting tool. First, we'll set up a page just to organize many of the formulas and lists that will drive the reporting too. Then, we'll learn how to set up two data validation lists so we can sort by class and student name.

There is a "how to" screencast at the bottom of this post. You can also download the workbook for these sessions to use at home. Ready to earn your yellow belt in Excel?

When you open the workbook, you'll notice that there are three tabs for the worksheets: P1 Biology (which is the same data from the RYOG Beginner series), P2 Chemistry, and Report (which is nearly identical to the version in RYOG Beginner). We're also going to create a new one. So, click on the little icon next to the "Report" tab. Name this new tab Formulas. While you certainly can place the lists and formulas we will use on existing worksheets, you will have a cleaner and more manageable product if you place the "engine" that drives the dashboard in its own space.

While you're hanging out on the Formulas page, let's add some information to draw from later. Using cells A1, A2, and A3, create a range for the classes. (See example on the left.) While it might seem a little silly with just two classes for now, you can imagine what this might look like if you had multiple class periods to track or multiple subjects at elementary. If you're an administrator, this list might represent classrooms in your school or schools in your district. We're just going to ease into things with two for now. Then, create a named range for this information. If you've forgotten how to do this, highlight cells A2 and A3, then on the Formulas tab on the ribbon, click "Define Name." Choose a name like "Classes" and hit Enter. You're good to go. You can also revisit Part I of the Beginner's series for a refresher. Now, using the last names of the students on the P1 Biology and P2 Chemistry worksheets, create two more named ranges. I used P1Biology and P2Chemistry as the names. We're also going to insert two lists: one with the names of the standards for biology and one for chemistry.


Now, click on the Report tab. Let's get the data validation lists going. Highlight cells C4 through F4 and then the "Merge and Center" button on the ribbon.


This will create a single cell in that space. This is where we will put our first data validation (i.e. "dropdown") list to select a class. Remember how to do that? On the Data tab, select "Data Validation" and then in the Settings, choose to allow a List. For our source, type Classes. Hit enter and your list should be set up. Now, let's do something similar for the data validation for the Last Name. The difference will be what you use as the Source:


We're going to use a formula here instead of a range like we did above. Why? And what the heck do "INDIRECT" and "SUBSTITUTE" mean? Well, first of all, we need more than one list available for this cell. We need it to display one list if we're wanting to look at Biology data and an entirely different list if it's for Chemistry---and we just want to use one cell. The "INDIRECT" function tells Excel that the source used there depends on our cell with the first data validation. It will then match things up for us. The "SUBSTITUTE" piece is necessary because we have a space in the class names. Excel doesn't do well with that. So, by telling it to substitute a space (that's the part with the " ") with no space (the part with ""), we've eliminated the source of a possible error. If you do get an error message (e.g. "currently evaluates an error), don't freak out. All Excel is saying is that there's nothing selected in the first data validation list, therefore, it doesn't know what to do with the second one. Now your workbook is organized and ready to use.

Watch the tutorial below. Come back for the next post to find out how to use the IF function in order to fill in the information for the Report. In the final tutorial for this gradebook, we'll make use of our Formulas worksheet to create the dynamic data for our graphs on the Report.

Thursday, September 15, 2011

Yes, You Can

One of my favourite blogs is Excel Theatre. It's over there on the sidebar, but if you haven't had time to investigate, the blog is a daily collection of humorous tweets about Excel and spreadsheets. One of my favourite quotes was this one:
Will be reciting Excel equations in my sleep tonight. My colleague taught me so much today! My bff said, “Excel could raise a child.”

Indeed, it probably could raise a child. The frustrating thing for me, however, is figuring out how to cajole a variety of functions out of Excel (although child-rearing has not been one). I'll have a goal in mind...will be pretty sure Excel can take me there...but no idea what to do in between. So, I thought I'd share my process of going from zero to hero.

Step One
Start inside the Excel program. I have two places I search first. One is to go to the "Formulas" tab and click the button on the left ("Insert Function"). This brings up the dialogue box shown below:

See that? You can describe what you want to do, and Excel can tell you what it's called. This can be handy for very simple formulas. The naming conventions in Excel do not always make sense (at least to me). Would you guess that "PROPER" is what you use to convert a text string so that the first letter of each word is uppercase and the rest lowercase? (Very handy when you have a set of names that aren't formatted like you want.) If you're not getting any reasonable suggestions from the dialogue box, try clicking the "?" (also known as "Help") in the upper righthand corner of the program window. Since it can also search online resources, you might have some luck there. However, even if one of these methods starts to pay off, you might not be able to interpret what Excel wants. For example, what the hell is this supposed to mean?


This is one of the main functions I ended up using in my gradebook template, but if I'd seen it like this, I would never have known it was what I wanted. The description here makes no sense to me. Which leads us to Step Two.

Step Two
Offer up your need to Teh Googles. If I think Excel can do something and I can't figure out what it's called, I just type a phrase or two into Google. For example, "How to autoupdate a cell in Excel based on the contents of another cell." This usually provides me with a host of links, most of which are either (a) not really what I wanted, after I take a moment to scan the info or (b) look like what I want, but are written in a way that's beyond my level of comprehension. However, what I usually glean from this are the right terms for the functions I'm going to need. This greatly helps me refine my search. I will still not be able to find specific examples that I want. Most of the Excel world is concerned with big business---not education. But by this point, I will have at least one or two webpages with potential. Then, I move on to Step Three.

Step Three
Thank goodness for YouTube. I use the function names gleaned from the web search as inputs into my YouTube search. Watching screencasts on YouTube can be a painful process. There is a lot of ugly stuff out there. However, the benefit of YouTube is that you can actually see how to input formulas and get results. Even the very best explanations on a web page do not bring about the same level of understanding as watching someone else work the spreadsheet. Sometimes, you just gotta see it to believe it.

Step Four
Practice using some fake data. If you're applying new-to-you formulas, don't dick around with your prize data...or at least make a copy you can play with first. I like to use something very simple---the smallest data set necessary. Most of the time, it's just a four column by four row set of junk numbers or text. Small is better. That way, if you need to troubleshoot, there's not much to wade through. Once you've perfected the formula, it's ready to apply to the real deal.

Step Five
Bask in your Excel prowess. Lather. Rinse. Repeat.

Someday, Excel may be written in plain English (or language of your choice). Until then, when you find yourself in Excelhell, take advantage of the paths available to you. Chances are, you're not the first person to want to bend Excel to your particular will. There is a wealth of resources out there to make sure you can.

Tuesday, September 13, 2011

I Feel Pretty

There are new togs for this blog. If you're viewing this post via RSS, I hope you'll take a moment to click over to the site and check out the new template and look. I feel like this place is finally "dressed." Now, let's look at some tools for helping with colour design.

Last week, I posted some suggestions for making your Excel charts bright and shiny. However, there are all kinds of data to analyze and endless infographics you can develop. If you need help choosing colour schemes or matching shades, here are a few tools you might find handy. These will allow you to work around the yukky "themes" Excel provides (you can even save new themes you create) or create images---even if you are "tone deaf" when it comes to the visual world.

One of the simplest tools to use is the Color Scheme Designer.
The site allows you to easily look at a variety of colour schemes and then tells you the exact RGB combination to use.

Or, head over to Kuler. On this site, people develop a variety of colour schemes and upload them. There, you can search through the themes, adjust them to suit your own needs (if so desired) and grab the values to use in your own designs.


Is there a colour you like---perhaps one you've seen in a photo or other image? Grab it with Color Cop. It's free to download and install on your computer and is available in many different languages. Use the eyedropper to sample a colour from an existing image. The tool will tell you the RGB value, as well as the hexidecimal key. It will also show you a complimentary colour scheme.


So, go ahead, make your charts, graphs, and other designs feel pretty. Your audience will be glad you did.

Bonus Round
Don't know how to input the colour values into Excel? You have two options. One is to use the colour menu for fill or font associated with any menu. For example,



Then, choose "More Colors." Make sure you use the "Custom" tab in the window that pops up. Now, you're ready to rock and roll.

Monday, September 12, 2011

Gradebook in the Cloud

A couple of weeks ago, I posted a "Roll Your Own Gradebook" series for beginners. The advanced version will be available soon, but in the meantime, some of you might be interested in the GoogleDocs version of the gradebook.

I like GoogleDocs for a variety of reasons. "Cloud-based" documents are accessible from anywhere I have an internet connection, collaboration is simple, and sharing a snap. Mind you, these are exactly the same attributes which can be deadly for student grades. In the U.S., the Family Educational Rights and Privacy Act (FERPA) outlines the responsibility institutions have when it comes to student data. So, even though you can keep your gradebook on the web, please think carefully about whether or not you should.

The spreadsheet feature of GoogleDocs is really not ready for primetime, but it does afford some functionality. You have very few colours to choose from (and no way to adjust RGB values), limited formulas, and no way to pretty up your charts and graphs (even though you have some types unavailable in Excel). However, if you just need a down and dirty way to look at scores, it's good enough.

Here is a link to the unadulterated version of the gradebook. You can copy this to your own Google account and play with it to your heart's content. You can follow (nearly) all of the same steps as I posted for the Excel version (see Part I, Part IIa, and Part IIb). Or, create a new beast.

I have also developed a final version of the gradebook and reporting tool, with all of the steps applied, if you just want to skip ahead to the ending. This, too, can be copied to your own Google account for hours of amusement.
Ow! My eyes!
Keep in mind that many people have created gradebook templates in GoogleDocs and have posted them to share. Look around and see how you can improve on what's there.

Sunday, September 11, 2011

Links You Might Like: September 2011

I plan to showcase a few of my favourite links each month. Many of these show up either in my Google Reader feed or through Delicious. Have a site or post to suggest? Leave your ideas in the comments.
  • The School Data Tutorials from CASTLE are based on the 2003 version of Excel. However, I know a lot of you are in schools where your software hasn't been upgraded in a very long time (and no hope of doing so anytime soon). If you've never (or rarely) opened Excel, or are working off the older software versions, you might want to have a look at these.
  • There are many good ideas contained within How to Create an Infographic: 44 Places to Find Tutorials and Tools. Put together by a K-12 media specialist, the list links to a variety of tools and tips.
  • From Debra Dagliesh's Contextures blog, there is a fascinating Data Entry Worksheet for Excel. It's an example and certainly not ready for classroom use. But my mind is chewing on this. I think there is a lot of potential here---especially with mobile devices. Stay tuned.
  • And finally, I need to be sure to do my best here. Pressure is on now. :)  (For those of you who don't know who Jon Peltier is, he's an Excel expert.) Jennifer Borgioli (@DataDiva) has offered to guest post. Will be awesome to have her lend a voice here.