Lesson 5 – Entering and Manipulating Data (and the basic rules of good spreadsheet design)

In the last few lessons you learned the ins-and-outs of the Excel Ribbon interface and all of the commands that the Ribbon puts at your fingertips. In this lesson we’ll start exploring how to actually use them by setting up some business scenarios, entering and editing data, preparing them (a workbook) for distribution with formatting, and finally preparing it for printing.

Next to using functions to analyze your data, the actual data input is one of the most important aspects of using Excel. After all, without the data, you have nothing to analyze. In a small business scenario you might not have a large database or mainframe system to input your daily transactions, but instead rely on manual methods or some type of small business accounting software, like QuickBooks. A lot of times that information is great, but what if it doesn’t adequately measure those aspects of your business that will help you manage it smarter, like customer turnover vs. retention rate, or employee sales performance? Small business accounting systems are great for telling you where you stand financially, but they don’t often give you the deeper insight that can really help. While there are certainly merits to making decisions based on your gut instinct, when you have a tool like Excel right at your fingertips you should use it. The same can be said for managing household finances; why do by hand what you can have Excel do for you? Regardless of the need, it all boils down to how to you get your information from its source to Excel, and once it gets there what do you do with it.

In this lesson we’re going to talk about how to enter and edit data, how to manipulate it once it’s there, how to format it so it looks the way that you want, and finally prepare it for printing/distribution. In this lesson you’ll work with a companion workbook that is laid out in steps to help you understand the process.

Before you just start putting your information/data into a worksheet, you need to understand some fundamental concepts behind good spreadsheet design (these concepts go beyond just Excel as well). This course is laid out in such a fashion as to reinforce those steps, but we’ll go over them here and explain them in detail.

Good planning goes a long way - there is nothing worse than expecting people to use a poorly designed spreadsheet; if you make it difficult for people to enter data, they will make it difficult for you to get it back.

If you can answer those questions to your satisfaction, then move on to Step 1.

5.1.jpg 

1. Planning

a. This is where you conceptualize your overall design. If it’s something simple that you’re not going to reuse, then just go ahead and whip something together it, but if this is going to be something sustainable, like a pricing matrix for your products, then you’ll be better off putting some time and effort into design before you start tapping away on the keyboard. This may sound counter-intuitive, but most often the best spreadsheets and databases are laid out on paper before you even turn on the computer. If you can sketch out an overall idea of what you want, then it will be easier to set up something that can be flexible and grow with you. It doesn’t have to be perfect, just a bit of a road map to get you going; but you certainly don’t have to do it and many great spreadsheets have been built without it. However, there’s nothing worse than being stuck with, or having to redesign a poorly built spreadsheet that has consumed a lot of hours building, especially when it can all be avoided up front.

b. Inalienable Design Rules

5.2.jpg 5.3.jpg 

Figure 215  

5.4.jpg 

c. Data Separation – Wherever possible separate your data as much as possible. For instance, storing “Bob Smith” in a single cell is much less usable than having separate columns for First Name/Last Name. Both can be parsed out (split apart) with functions, or with Excel’s Data, Text to Columns tool (we’ll discuss both later), but it’s often unwieldy at best and should be avoided if at all possible. This becomes really important when you start dealing with middle name/initial, suffixes/prefixes, etc. To borrow a math term, the more you can break your data down into its lowest common denominators the better. Just think of all the Internet sites where you enter First Name, Last Name, Address, City, State, etc., separately. Those are all database driven, and they follow those rules for a reason.

d. Another thing that can chuck your data right out the window is to store it all in a single cell:

5.5.jpg5.6.jpg 

Figure 216  

5.7.jpg 

2. Design & Build

a. Once you’ve decided on a function for your spreadsheet(s) you need to focus on a design, then it’s time to start building the spreadsheet. You should already have an overall concept in mind, like if this will be a balance sheet with expense categories in rows on the left and months as your column headers, or an employee schedule with employee names in rows, and days of the week as column headers. As you gain experience with building spreadsheets for different scenarios you’ll find yourself reusing your favorites over and over again. The initial pain is in setting up the first few, but once you get a few under your belt you’ll quickly know how to start a new one with relative ease.

b. The next step is to build the guts of your spreadsheet by defining the row and column headers that you want (e.g. Employee 1, 2, 3 & January, February, March, etc.). You’re still very flexible at this point, so don’t get too bound by the idea that you can’t change your mind.

c. Try to keep things as simple as possible. An overly complex model can be confusing and difficult for users to understand. A spreadsheet can be very powerful thing even with a simple, time-tested design.

d. Try to reuse elements wherever possible. Why type in January-December for each row, when you can do it once and refer to the original values throughout the worksheet, and even the entire workbook?

3. Populate – Sample Data

a. Once you’ve gotten your design down (or relatively close) it’s time to start entering in some sample data. At this point there’s no reason to enter in real data unless it just happens to be right there in front of you, otherwise just make up some numbers that will reasonably represent what you plan on entering later. All you’re going to do here is set the stage to evaluate your functionality. You don’t want to invest a lot of data entry resources at this point just in case you decide to completely change your design.

4. Evaluate/Calculate

a. This is where you start putting Excel’s true power as an analytical tool to use. Here you start developing the formulas that you’ll use to summarize and evaluate your data, be it simple sums or averages, or complex ratios and relational formulas.

b. We’ve got a whole lesson that will be devoted to using Excel’s functions, so this won’t cover much, but you should try some of the AutoSum features that we discussed earlier and see how they work in a real situation. As we get into the Function lesson, some more insight about what you can do in Excel will also help expand your design capabilities. One of the limiting factors when people design spreadsheets is that they just don’t know that something is possible, so they don’t think to add it. You’ll instantly know when you have one of those “Ahh haa! I didn’t know Excel could do that!” moments.

5. Format

a. As much as you might be tempted to add formatting elements while you’re building your spreadsheet, you should try to avoid it and wait until it’s functional. Otherwise you will find yourself going back and adjusting the formatting as you adjust your sheet design. This also holds true for other applications, like Word or Power Point; saving the formatting for last will save you time in the long run. You can easily get bogged down investing time into formatting a sheet, just to throw the design away and start over, like crumpling up a piece of paper. It’s a shame to have formatting time wasted like that. Fortunately, formatting is easier than ever with Excel’s new styles & gallery selections, as well as themes. What used to take a lot of manual labor can now be created in just a few mouse clicks.

6. Populate – Live Data

a. Now that your workbook/sheet is set up and doing what you want, it’s time to start putting real data into the workbook. If you’re entering the data yourself or pulling it from an external source you generally don’t need to worry about protecting the workbook/worksheets. But if you’re going to be relying on users to enter your data, then you’re strongly encouraged to take advantage of Excel’s protection, so they can’t inadvertently overwrite your functions. As mentioned earlier, you just select the cells/ranges in which you want to allow data entry, goto Format, Cells (Ctrl+1), Protection and uncheck “Locked”. Then protect the worksheet from the Review tab, selecting the particular elements that you want to allow.

7. Report

a. Now that your workbook is set up and functioning what do you do with it? The final output should have been something you considered in the design phase when you detailed the workbook’s functionality and your audience. This is where you start telling a story with your data, and all data can tell a story, it just depends on which story you want to tell and how. There is no right or wrong way to do this, it’s largely a matter of preference. Some people prefer to let the numbers speak for themselves, others like to tell a story visually with Charts and other visual aids, while others want to add in end-user functionality with Pivot Tables. This is another area where you’ll get some good ideas by browsing through the Microsoft Template Gallery.

8. Distribute & Collaborating

a. The last step is distribution. Again, your audience and the data use dictates how you’re going to send the information out. The first thing you do is hide any worksheets that contain sensitive personal or customer information. If you hide worksheets you’ll also want to protect the Workbook, not just worksheets in order to prevent the hidden worksheets from being unhidden.

b. If your workbook is for data entry, you’d need to take steps to protect sensitive cells or those with functions from being overwritten.

c. If the workbook is purely for review purposes, you might want to consider creating a copy of the workbook, then on each worksheet, select all cells (Ctrl+A), Copy, Paste Special, Values. This will get rid of all your formulas, and it will also serve to shrink your workbook’s size. Another option is to save as a PDF. If you don’t have a PDF writer, you can find several on the Internet for free, and Office 2010 now supports creating PDF’s natively (File, Save & Send). PDF’s are also a good way to secure your data. If you send out an Excel workbook, even as values only, the data can still be copied, which you might not want.

d. For workbooks, and just about anything else where you need user input, in the past most people generally just e-mailed them back and forth, but the advent of online file sharing services have rendered this all but obsolete. Take a look at Microsoft’s SkyDrive service, which will let you post files in a secure cloud-based environment. You can invite people to share documents with you, and set what degree of changes they can make. And Microsoft has released its new Office Web Apps, which let you work in a workbook real-time with other users with a great new feature called “Co-Authoring”. If you have users spread out in different locations this is a great way to move documents back and forth without relying on e-mail and wondering which version of a workbook is the latest, who made changes to what and where. And best of all it’s free, so there’s no reason not to at least give it a try.

5.8.jpg 

Entering and Editing Data

5.9.jpg 

5.10.jpg 

Entering and Editing Formulas/Functions

5.11.jpg 

5.12.jpg 

5.13.jpg 

Figure 217  

5.14.jpg 

Figure%20201.PNG 

Figure 218  

5.18.jpg 

Figure 219  

5.19.jpg 

Figure 220  

Copying Formulas - Absolute & Relative References

5.20.jpg 

Figure 221  

5.21.jpg 

Lists & AutoFill

5.22.jpg 

Figure 222  

5.24.jpg 5.23.jpg 

Figure 223  

5.25.jpg 5.26.jpg 

Figure 224  

Data Validation

5.27.jpg 

Figure 225  

5.28.jpg 5.29.jpg 5.30.jpg 

Figure 226  

5.31.jpg 5.32.jpg 

5.33.jpg 

Figure 227  

5.34.jpg 

Figure 228  

5.35.jpg 

Figure 229  

Inserting and Deleting Ranges, Rows & Columns and Worksheets

Since a big part of building and working with spreadsheets is entering data and formulas, then naturally so is altering them, moving things around, and even deleting elements that you may have already entered. But you can’t just jump into a worksheet and start adding or deleting things without first understanding what implications your actions might have on the rest of the worksheet, and possibly the entire workbook.

5.36.jpg 

Deleting Worksheets

5.37.jpg 

Figure 230  

Modifying Data on Multiple Worksheets

5.38.jpg 

Unit Summary: Entering and Manipulating Data (and the basic rules of good spreadsheet design)

Review Questions – Lesson 5 – Entering & Manipulating Data

1. How do you begin entering text in a cell

a. __________________________________________________

2. How would you enter the same text in multiple cells at once?

a. __________________________________________________

3. How do you begin entering a function/formula?

a. __________________________________________________

4. What are Absolute & Relative References? What symbol characterizes an Absolute Reference?

a. __________________________________________________

5. How would you fill a series starting at 1, ending at 10,000 in increments of 500?

a. __________________________________________________

6. What are some uses for Data Validation?

a. __________________________________________________

7. How would you make changes to sheets 1 & 3 at the same time?

a. __________________________________________________

Lesson Assignment – Lesson 5 – Entering & Manipulating Data