Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

31
Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

Transcript of Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

Page 1: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

Utilizing Advanced Features of Spreadsheet Software

Copyright © Cannady ACOS. All rights reserved.

Page 2: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

OBJECTIVEOBJECTIVE

The objective of this lesson is for each student to (1) utilize The objective of this lesson is for each student to (1) utilize advanced features of spreadsheet software, including advanced features of spreadsheet software, including creating charts and graphs, sorting and filtering data, creating charts and graphs, sorting and filtering data, creating formulas, and applying functions. (2) create a creating formulas, and applying functions. (2) create a product that integrates information from multiple software product that integrates information from multiple software applications.applications.

Sample(s) of Behavior (SOBs):Sample(s) of Behavior (SOBs):

- Construct charts / graphics- Construct charts / graphics

- Paste charts / graphics into powerpoint presentation.- Paste charts / graphics into powerpoint presentation.

- Sort and filter data- Sort and filter data

- Generate formulas- Generate formulas

- Employ Functions to Spreadsheets- Employ Functions to Spreadsheets

Page 3: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

CONSTRUCT CHARTS AND GRAPHICS

Numbers appear all around us. They trace the rise and fall of the stock market, they record the progress of our students, they list the distances to the planets, and they weigh the guinea pig in the back of the classroom. Our students spend a good deal of their time in school learning to work with numbers, and to understand how numbers help explain how the world works. Computers need numbers in order to operate, and in fact in the early days of computing you needed to feed the machine numbers - it did not understand text, nor images nor sound.

Collections of numbers, like the results of an election, or the batting averages of a team, or the growth of a population over the years, are often used to communicate important ideas in school and in public communication. But it takes a lot of work on the part of the viewer to interpret these numbers to understand what they mean. Question:

It's often more efficient to use a graph to show the "story behind the numbers." And in most math curricula, the making and understanding of graphs is an important skill. This week's article gets you and your students started making graphs from collections of numbers.

Page 4: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

CONSTRUCT CHARTS AND GRAPHICSContinuedContinued

The instructions here refer to Microsoft Excel, which is the program most The instructions here refer to Microsoft Excel, which is the program most people use to organize their numbers and to create graphs quickly. Other people use to organize their numbers and to create graphs quickly. Other spreadsheet programs, such as AppleWorks, that might be found in a school spreadsheet programs, such as AppleWorks, that might be found in a school operate in similar ways and will require few modifications to the steps operate in similar ways and will require few modifications to the steps listed here. Feel free to copy these instructions for your students or modify listed here. Feel free to copy these instructions for your students or modify them as needed for a particular assignment. them as needed for a particular assignment.

How Tall?How Tall?

The best way to learn to make graphs with a spreadsheet is to build a small The best way to learn to make graphs with a spreadsheet is to build a small collection of numbers, and then experiment with various graphs. Open your collection of numbers, and then experiment with various graphs. Open your spreadsheet program and create a new blank document. Into the spreadsheet program and create a new blank document. Into the spreadsheet enter the names of the members of a family (real or imaginary) spreadsheet enter the names of the members of a family (real or imaginary) and their heights. Your collection of data should look something like this:and their heights. Your collection of data should look something like this:

Page 5: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

CONSTRUCT CHARTS AND GRAPHICSContinuedContinued

       A B C

1   Height  

2 Molly 49  

3 Jimmy 68  

4 Kathi 64  

5 Annie 66  

6 Ben 73  

7      

Page 6: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

CONSTRUCT CHARTS AND GRAPHICSContinuedContinued

In this example, the numbers that represent height are called In this example, the numbers that represent height are called valuesvalues, , and the words that represent names are called and the words that represent names are called labelslabels. Each label and . Each label and value is entered in one value is entered in one cellcell of the spreadsheet. The label of the spreadsheet. The label JimmyJimmy, for , for instance, is in cell A3 - instance, is in cell A3 - columncolumn A, A, rowrow 3 - while the value 3 - while the value 7373 is in is in B6. And cell C7 is empty. (Of course you may use any kind of data B6. And cell C7 is empty. (Of course you may use any kind of data you like for this exercise, but keep it small and simple to begin with you like for this exercise, but keep it small and simple to begin with using short labels and straightforward values.) using short labels and straightforward values.)

Make a GraphMake a Graph

The process of making a graph from data like these takes four steps:The process of making a graph from data like these takes four steps:

Page 7: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

CONSTRUCT CHARTS AND GRAPHICSContinuedContinued

Select some data. Click and drag the mouse to select the numbers and words that you want to include in the graph. In this Select some data. Click and drag the mouse to select the numbers and words that you want to include in the graph. In this example we will graph all of the data, but in many situations you won't want to include all the information in the graph. example we will graph all of the data, but in many situations you won't want to include all the information in the graph. Select only what you need, in this case selecting the area from A1 to B6. Select only what you need, in this case selecting the area from A1 to B6.

Create a chart. From the menubar choose Insert - Chart. Then choose the type of chart you want (column, bar, line, pie, and Create a chart. From the menubar choose Insert - Chart. Then choose the type of chart you want (column, bar, line, pie, and so forth). Then click the Finish button. (Notice that Excel refers to what you are making as a so forth). Then click the Finish button. (Notice that Excel refers to what you are making as a chartchart, while most teachers , while most teachers would call this a would call this a graphgraph. Don't let the terms fool you.) . Don't let the terms fool you.)

Examine your graph. Excel will construct your graph automatically, but not always in exactly the way that you might wish. Examine your graph. Excel will construct your graph automatically, but not always in exactly the way that you might wish. Does it appear as you had planned? Does it include all the necessary information? Will it make sense to the audience? Does Does it appear as you had planned? Does it include all the necessary information? Will it make sense to the audience? Does it include any extraneous or distracting elements? Make a note of what needs changing. it include any extraneous or distracting elements? Make a note of what needs changing.

Modify the graph. For a simple graph like this, you may not need to change anything. But if you do, simply double-click the Modify the graph. For a simple graph like this, you may not need to change anything. But if you do, simply double-click the item you want to change, and you will get a dialog box that lets you change it. To get rid of an item on the graph, you item you want to change, and you will get a dialog box that lets you change it. To get rid of an item on the graph, you

simply select it (one click) and press the delete or backspace key.simply select it (one click) and press the delete or backspace key.

Page 8: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

CONSTRUCT CHARTS AND GRAPHICSContinuedContinued

Types of GraphsTypes of GraphsFor displaying the comparative heights of the members of a family, a column graph is appropriate, For displaying the comparative heights of the members of a family, a column graph is appropriate, because the vertical columns in the chart appear similar to people standing up next to each other. If because the vertical columns in the chart appear similar to people standing up next to each other. If we were graphing the distances to various cities, we might best show it as a horizontal bar graph, we were graphing the distances to various cities, we might best show it as a horizontal bar graph, because we move horizontally when we travel to them. A pie graph is best used when we are showing because we move horizontally when we travel to them. A pie graph is best used when we are showing the parts of a whole, such as the proportions of a population with various colors of eyes. A line graph the parts of a whole, such as the proportions of a population with various colors of eyes. A line graph might best represent data that shows a continuous trend or flow over time, such as air temperature.might best represent data that shows a continuous trend or flow over time, such as air temperature.

To change a graph from one type to another, select the graph, and then from the menubar choose To change a graph from one type to another, select the graph, and then from the menubar choose Chart - Chart type... Notice that Excel provides two levels of choice here, a general graph type on the Chart - Chart type... Notice that Excel provides two levels of choice here, a general graph type on the left, and a specific format on the right. The best way to understand how this works is to make a graph left, and a specific format on the right. The best way to understand how this works is to make a graph of your own, and then try changing the type to see the results.of your own, and then try changing the type to see the results.

Avoid the tendency to make the graph too fancy. Excel provides many formats, some of which are Avoid the tendency to make the graph too fancy. Excel provides many formats, some of which are over decorated and make your graph hard to understand. Choose the simpler formats and your graph over decorated and make your graph hard to understand. Choose the simpler formats and your graph will do better job communicating to its audience.will do better job communicating to its audience.

Page 9: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

CONSTRUCT CHARTS AND GRAPHICSContinuedContinued

Complex GraphsComplex Graphs

To make a more complex graph, you would add more columns of values to your spreadsheet, and then To make a more complex graph, you would add more columns of values to your spreadsheet, and then show them all in one graph. For instance, in the example shown above you might add a column for weight show them all in one graph. For instance, in the example shown above you might add a column for weight and another for girth. But be careful - a graph that compares widely different measures is hard to make and another for girth. But be careful - a graph that compares widely different measures is hard to make sense of. In this case, you would avoid including a column that showed the annual income of each person sense of. In this case, you would avoid including a column that showed the annual income of each person on the list, because the numbers would be way off the scale and the comparisons with height and weight on the list, because the numbers would be way off the scale and the comparisons with height and weight irrelevant.irrelevant.

To make a graph from a spreadsheet with multiple columns, carefully select all the data that you need, and To make a graph from a spreadsheet with multiple columns, carefully select all the data that you need, and then from the menubar choose Insert - Graph. All of the selected data will be shown in the graph, each then from the menubar choose Insert - Graph. All of the selected data will be shown in the graph, each column of numbers with its own line or box.column of numbers with its own line or box.

Sometimes the values of the various measurements are out of proportion to each other, such as heights that Sometimes the values of the various measurements are out of proportion to each other, such as heights that range from 50 to 70 inches next to weights that range from 150 to 300 pounds. The graph produced by such range from 50 to 70 inches next to weights that range from 150 to 300 pounds. The graph produced by such data might not be easy to interpret if both measurements are plotted on the same scale. Excel lets you data might not be easy to interpret if both measurements are plotted on the same scale. Excel lets you construct a graph with two different axes, each with its own scale of values. To create such a graph, choose construct a graph with two different axes, each with its own scale of values. To create such a graph, choose the the Custom TypesCustom Types tab in the Chart Wizard window, and then scroll down to the tab in the Chart Wizard window, and then scroll down to the Line-Column on 2 axesLine-Column on 2 axes type. This will scale the heights from 0 to 80 on the left axis, and the weights from 0 to 300 on the right.type. This will scale the heights from 0 to 80 on the left axis, and the weights from 0 to 300 on the right.

Page 10: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

CONSTRUCT CHARTS AND GRAPHICSContinuedContinued

Saving GraphsSaving Graphs When you save an Excel document, the graph is saved with it, and whenever it is opened the graph When you save an Excel document, the graph is saved with it, and whenever it is opened the graph

will appear where you left it. You can also save the table of numbers and the graph as a web page, will appear where you left it. You can also save the table of numbers and the graph as a web page, by choosing Save as Web Page from the File menu. You can also copy the graph alone by selecting by choosing Save as Web Page from the File menu. You can also copy the graph alone by selecting it, and then choosing Copy from the Edit menu. From here it can be pasted into any document, such it, and then choosing Copy from the Edit menu. From here it can be pasted into any document, such as a report in Microsoft Word or an image in Adobe Photoshop.as a report in Microsoft Word or an image in Adobe Photoshop.

Printing GraphsPrinting Graphs To print the graph along with the table of numbers on the same page, first deselect the graph (this is To print the graph along with the table of numbers on the same page, first deselect the graph (this is

best done by clicking the mouse in one of the cells of the spreadsheet), and then choose Print from best done by clicking the mouse in one of the cells of the spreadsheet), and then choose Print from the File menu. To print only the graph, select it by clicking once on the graph, and then choose Print the File menu. To print only the graph, select it by clicking once on the graph, and then choose Print from the File menu.from the File menu.

Students and teachers both can find many ways to use graphs for teaching and learning. The best Students and teachers both can find many ways to use graphs for teaching and learning. The best way to get started is to experiment with your own collections of numbers, graphing them every way to get started is to experiment with your own collections of numbers, graphing them every chance you get, and trying different types and formats until you find the ones that work best.chance you get, and trying different types and formats until you find the ones that work best.

Page 11: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SORT AND FILTER DATASORT AND FILTER DATA

Sorting is a simple concept and a simple process as far as Excel is concerned. You may Sorting is a simple concept and a simple process as far as Excel is concerned. You may need to sort a list of employees alphabetically by last name or perhaps by hire date. need to sort a list of employees alphabetically by last name or perhaps by hire date. Excel makes it easy on you.Excel makes it easy on you.

Sort Ascending

Sort Descending

Sort Ascending A-Z, 1-100

Sort Descending Z-A, 1-100

Page 12: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SORT AND FILTER DATASORT AND FILTER DATA ContinuedContinued

Click on an item in your list that contains the type of data you wish to sort Click on an item in your list that contains the type of data you wish to sort by (i.e. a last name, an ID number, etc.)by (i.e. a last name, an ID number, etc.)

Click on one of the two quick sort buttons (see above). That’s it! Your list Click on one of the two quick sort buttons (see above). That’s it! Your list should now be sorted in the order you specified. Amazingly simple, isn’t should now be sorted in the order you specified. Amazingly simple, isn’t it?it?

NoteNote: As long as you have NO BLANK ROWS, sorting will work just fine. : As long as you have NO BLANK ROWS, sorting will work just fine.

Blank cells are fine, but blank rows are not. Blank cells are fine, but blank rows are not.

Page 13: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SORT AND FILTER DATASORT AND FILTER DATA ContinuedContinued

The Data Sort CommandThe Data Sort CommandFor more detailed and advanced sorting, you can use the DATA menu and select For more detailed and advanced sorting, you can use the DATA menu and select the SORT command from there. This will give you more options as far as sorting the SORT command from there. This will give you more options as far as sorting goes.goes.

Click on any piece of data inside your list (on any last name, any employee Click on any piece of data inside your list (on any last name, any employee number or other type of data)number or other type of data)

Go to the DATA menu and select SORT. Go to the DATA menu and select SORT.

Select the first sort method and then the optional second and third sort methods. Select the first sort method and then the optional second and third sort methods. You can also choose to sort each column (or type of data) in ascending or You can also choose to sort each column (or type of data) in ascending or descending order.descending order.

Page 14: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SORT AND FILTER DATASORT AND FILTER DATA ContinuedContinued

Page 15: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SORT AND FILTER DATASORT AND FILTER DATA ContinuedContinued

FilteringFiltering Say you have a large list of employees from all over the world. Wouldn’t it be Say you have a large list of employees from all over the world. Wouldn’t it be

great to easily be able to display the employees from your Texas office without great to easily be able to display the employees from your Texas office without losing the data from the rest of your list? Well, filtering allows you to do this in a losing the data from the rest of your list? Well, filtering allows you to do this in a rather simple way. rather simple way.

The simplest way to filter is to use AUTOFILTER. The simplest way to filter is to use AUTOFILTER.

Click on the DATA menu and select FILTER and then AUTOFILTER. This will Click on the DATA menu and select FILTER and then AUTOFILTER. This will turn “on” auto filtering.turn “on” auto filtering.

1.1.

Page 16: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SORT AND FILTER DATASORT AND FILTER DATA ContinuedContinued

Filter arrow

You will then notice that each of your column headings now contain a small filter arrow next to them.

Click on the filter arrow for the column you wish to filter. Then select the item you wish from the drop-down list. The screen will then display only items that match your criteria. Amazing, isn’t it?

Page 17: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SORT AND FILTER DATASORT AND FILTER DATA ContinuedContinued

Custom FilteringCustom FilteringSometimes, you may have the need to perform a filter that cannot be accomplished by Sometimes, you may have the need to perform a filter that cannot be accomplished by using the single selection method of Autofilter. When you click on a filter arrow, you will using the single selection method of Autofilter. When you click on a filter arrow, you will notice the selection of “custom.” This opens up many new avenues of creating custom notice the selection of “custom.” This opens up many new avenues of creating custom criteria to filter your results.criteria to filter your results.

Here are a few examples of what you could perform a custom filter for on an employee Here are a few examples of what you could perform a custom filter for on an employee list:list:

– All employees that make more than $10.00 per hour (see graphic below).All employees that make more than $10.00 per hour (see graphic below).

– All employees whose last name begins with “G”All employees whose last name begins with “G”

– All employees who work in the SALES or DEVELOPMENT departments.All employees who work in the SALES or DEVELOPMENT departments.

To custom filter, simply select “custom” from the filter drop-down arrow for a given To custom filter, simply select “custom” from the filter drop-down arrow for a given column. You will then see the following dialog box.column. You will then see the following dialog box.

Page 18: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SORT AND FILTER DATASORT AND FILTER DATA ContinuedContinued

Be wary of the AND and OR. AND means that both criteria sets must be met. OR means that just one of the 2 sets of criteria must be met. This is important to remember when performing custom filters.

Page 19: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

GENERATE FORMULASGENERATE FORMULASA worksheet is merely a lifeless collection of numbers and text until you define some kind of relationship among the various entries. You do this by creating formulas that perform calculations and produce results.

Understanding Formula BasicsMost worksheets are created to provide answers to specific questions: What is the company's profit? Are expenses over or under budget, and by how much? What is the future value of an investment? How big will an employee bonus be this year? You can answer these questions, and an infinite variety of others, by using Excel formulas.

All Excel formulas have the same general structure: an equals sign (=) followed by one or more operands—which can be a value, a cell reference, a range, a range name, or a function name—separated by one or more operators—the symbols that combine the operands in some way, such as the plus sign (+) and the greater-than sign (>). Although it's unlikely that you'll ever reach it, the maximum number of characters that Excel allows within a single formula is 1,024.

NOTEExcel won't object if you use spaces between operators and operands in your formulas. This is actually a good practice to get into because separating the elements of a formula in this way can make them much easier to read. Note, too, that Excel also accepts line breaks in formulas. This is handy if you have a very long formula because it enables you to "break up" the formula so that it appears on multiple lines. To create a line break within a formula, press Alt+Enter.

Page 20: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

GENERATE FORMULASGENERATE FORMULAS ContinuedContinued

Entering and Editing FormulasEntering and Editing Formulas Entering a new formula into a worksheet appears to be a straightforward process:Entering a new formula into a worksheet appears to be a straightforward process:

Select the cell in which you want to enter the formula.Select the cell in which you want to enter the formula. Type an equals sign (=) to tell Excel that you're entering a formula.Type an equals sign (=) to tell Excel that you're entering a formula. Type the formula's operands and operators.Type the formula's operands and operators. Press Enter to confirm the formula.Press Enter to confirm the formula.

However, Excel has three different However, Excel has three different input modesinput modes that determine how Excel interprets certain that determine how Excel interprets certain keystrokes and mouse actions:keystrokes and mouse actions:

When you type the equals sign to begin the formula, Excel goes into When you type the equals sign to begin the formula, Excel goes into Enter modeEnter mode, which , which is the mode you use to enter text (such as the formula's operands and operators).is the mode you use to enter text (such as the formula's operands and operators).

If you press any keyboard navigation key (such as Page Up, Page Down, or any arrow If you press any keyboard navigation key (such as Page Up, Page Down, or any arrow key), or if you click any other cell in the worksheet, Excel enters key), or if you click any other cell in the worksheet, Excel enters Point modePoint mode. This is the . This is the mode you use to select a cell or range as a formula operand. When you're in Point mode, mode you use to select a cell or range as a formula operand. When you're in Point mode, you can use any of the range-selection techniques that you learned in Chapter 1, you can use any of the range-selection techniques that you learned in Chapter 1, "Getting the Most Out of Ranges." Note that Excel returns to Enter mode as soon as you "Getting the Most Out of Ranges." Note that Excel returns to Enter mode as soon as you type an operator or any character.type an operator or any character.

If you press F2, Excel enters If you press F2, Excel enters Edit modeEdit mode, which is the mode you use to make changes to , which is the mode you use to make changes to the formula. For example, when you're in Edit mode, you can use the left and right the formula. For example, when you're in Edit mode, you can use the left and right arrow keys to move the cursor to another part of the formula for deleting or inserting arrow keys to move the cursor to another part of the formula for deleting or inserting characters. You can also enter Edit mode by clicking anywhere within the formula. characters. You can also enter Edit mode by clicking anywhere within the formula. Press F2 to return to Enter mode.Press F2 to return to Enter mode.

Page 21: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

GENERATE FORMULASGENERATE FORMULAS ContinuedContinued

TIPTIP

You can tell which mode Excel is currently in by looking at the status bar. On the left side, You can tell which mode Excel is currently in by looking at the status bar. On the left side, you'll see one of the following: Enter, Point, or Edit.you'll see one of the following: Enter, Point, or Edit.

After you've entered a formula, you might need to return to it to make changes. Excel gives After you've entered a formula, you might need to return to it to make changes. Excel gives you three ways to enter Edit mode and make changes to a formula in the selected cell:you three ways to enter Edit mode and make changes to a formula in the selected cell:

– Press F2.Press F2.– Double-click the cell.Double-click the cell.– Use the formula bar to click anywhere inside the formula text.Use the formula bar to click anywhere inside the formula text.

Excel divides formulas into four groups: Excel divides formulas into four groups:

– arithmetic, comparison, text, and referencearithmetic, comparison, text, and reference . Each group has its own set of . Each group has its own set of operators, and you use each group in different ways. In the next few sections, I'll show you how to operators, and you use each group in different ways. In the next few sections, I'll show you how to use each type of formula.use each type of formula.

Page 22: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

GENERATE FORMULASGENERATE FORMULAS ContinuedContinued

Using Arithmetic FormulasUsing Arithmetic Formulas Arithmetic formulasArithmetic formulas are by far the most common type of formula. They combine numbers, cell addresses, are by far the most common type of formula. They combine numbers, cell addresses,

and function results with mathematical operators to perform calculations. Table 1 summarizes the and function results with mathematical operators to perform calculations. Table 1 summarizes the mathematical operators used in arithmetic formulas.mathematical operators used in arithmetic formulas.

Table 1 The Arithmetic Operators

Operator Name Example Result

+ Addition =10+5 15

– Subtraction =10-5 5

– Negation =-10 –10

* Multiplication =10*5 50

/ Division =10/5 2

% Percentage =10% 0.1

^ Exponentiation =10^5 100000

Most of these operators are straightforward, but the exponentiation operator might require further explanation. The formula =x^y means that the value x is raised to the power y. For example, the formula =3^2 produces the result 9 (that is, 3*3=9). Similarly, the formula =2^4 produces 16 (that is, 2*2*2*2=16).

Page 23: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

GENERATE FORMULASGENERATE FORMULAS ContinuedContinued

Using Comparison FormulasUsing Comparison Formulas A A comparison formulacomparison formula is a statement that compares two or more numbers, text strings, cell is a statement that compares two or more numbers, text strings, cell

contents, or function results.contents, or function results. If the statement is true, the result of the formula is given the logical If the statement is true, the result of the formula is given the logical value TRUE (which is equivalent to any nonzero value). If the statement is false, the formula value TRUE (which is equivalent to any nonzero value). If the statement is false, the formula returns the logical value FALSE (which is equivalent to 0). returns the logical value FALSE (which is equivalent to 0).

Table 2 Comparison Formula Operators

Operator Name Example Result

= Equal to =10=5 FALSE

> Greater than =10>5 TRUE

< Less than =10<5 FALSE

>= Greater than or equal to

="a">="b" FALSE

<= Less than or equal to ="a"<="b" TRUE

<> Not equal to ="a"<>"b" TRUE

Comparison formulas have many uses. For example, you can determine whether to pay a salesperson a bonus by using a comparison formula to compare actual sales with a predetermined quota. If the sales are greater than the quota, the rep is awarded the bonus. You also can monitor credit collection. For example, if the amount a customer owes is more than 150 days past due, you might send the invoice to a collection agency.

Page 24: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

GENERATE FORMULASGENERATE FORMULAS ContinuedContinued

Using Text FormulasUsing Text Formulas So far, I've discussed formulas that calculate or make comparisons and So far, I've discussed formulas that calculate or make comparisons and

return values. A return values. A text formulatext formula is a formula that returns text. Text formulas is a formula that returns text. Text formulas use the ampersand (&) operator to work with text cells, text strings use the ampersand (&) operator to work with text cells, text strings enclosed in quotation marks, and text function results.enclosed in quotation marks, and text function results.

One way to use text formulas is to concatenate text strings. For example, if One way to use text formulas is to concatenate text strings. For example, if you enter the formula ="soft"&"ware" into a cell, Excel displays software. you enter the formula ="soft"&"ware" into a cell, Excel displays software. Note that the quotation marks and the ampersand are not shown in the Note that the quotation marks and the ampersand are not shown in the result. You also can use & to combine cells that contain text. For example, result. You also can use & to combine cells that contain text. For example, if A1 contains the text Ben and A2 contains Jerry, then entering the formula if A1 contains the text Ben and A2 contains Jerry, then entering the formula =A1&" and " &A2 returns Ben and Jerry.=A1&" and " &A2 returns Ben and Jerry.

Page 25: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

GENERATE FORMULASGENERATE FORMULAS ContinuedContinued

Using Reference FormulasUsing Reference Formulas

The reference operators combine two cell references or ranges to create a single joint reference.The reference operators combine two cell references or ranges to create a single joint reference.

Table 3 Reference Formula Operators

Operator Name Description

: (colon) Range Produces a range from two cell references (for example, A1:C5)

(space) Intersection Produces a range that is the intersection of two ranges (for example, A1:C5 B2:E8)

, (comma) Union Produces a range that is the union of two ranges (for example, A1:C5,B2:E8)

Page 26: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

EMPLOY FUNCTIONS TO SPREADSHEETSEMPLOY FUNCTIONS TO SPREADSHEETS Functions;Functions; a built in set of formulasa built in set of formulas which start with an " which start with an "==" " sign, then the function name and then the cells (enclosed in sign, then the function name and then the cells (enclosed in parentheses) on which you desire to perform the function For parentheses) on which you desire to perform the function For example, =SUM(A1:A3) would add the values in A1 + A2 + A3 example, =SUM(A1:A3) would add the values in A1 + A2 + A3 and place the answer in the cell with the function and place the answer in the cell with the function

There are many functions available. Some common functions There are many functions available. Some common functions include: include:

– SUMSUM totals the values of the range or cells specified totals the values of the range or cells specified

– AVERAGEAVERAGE finds the average of the range or cells specified finds the average of the range or cells specified

– STDEVSTDEV finds Standard Deviation of range or cells specified finds Standard Deviation of range or cells specified

NOTE: NOTE: computer math uses the rules of Algebra. You probably

learned these rules as one of the following:

Page 27: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

EMPLOY FUNCTIONS TO SPREADSHEETSEMPLOY FUNCTIONS TO SPREADSHEETS ContinuedContinued

( ) ^ * / - +

GEMS Grouping Exponents Multiplication and Division Subtraction and Addition

PEMDAS Please --parenthesis Excuse --exponents My --multiply Dear --divide Aunt --add Sally --subtract

Page 28: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

EMPLOY FUNCTIONS TO SPREADSHEETSEMPLOY FUNCTIONS TO SPREADSHEETS ContinuedContinued

A sample spreadsheet

Page 29: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SummarySummary

Construct charts and Construct charts and graphicsgraphics

Sort and filter dataSort and filter data

Generate formulasGenerate formulas

Employ functions to Employ functions to spreadsheetsspreadsheets

Page 30: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

SourcesSources

Lengel Jim, Prof. Boston University College of Communication (2010)Lengel Jim, Prof. Boston University College of Communication (2010)http://www.powertolearn.com/articles/teachinghttp://www.powertolearn.com/articles/teaching with_technology/howtomakegraphswithexcel.shtmlwith_technology/howtomakegraphswithexcel.shtml

Barrios, Barclay. Rutgers Writing Program (2003)Barrios, Barclay. Rutgers Writing Program (2003)Spreadsheet Basics (Excel.pdf)Spreadsheet Basics (Excel.pdf)

Jacobson, Scott. (May 2005)Jacobson, Scott. (May 2005)Sort and Filter (Adv. Excel.doc)Sort and Filter (Adv. Excel.doc)

Paul McFedries. (Aug 27, 2004)Paul McFedries. (Aug 27, 2004)http://www.informit.com/articles/article.ashttp://www.informit.com/articles/article.as px?p=328639px?p=328639

The Garlic Press. Excel a beginning!(2000) (edited 8/30/04 ADA)The Garlic Press. Excel a beginning!(2000) (edited 8/30/04 ADA)http://www.csub.edu/~jross/classes/GS390/Spreadsheets/ss_basics/http://www.csub.edu/~jross/classes/GS390/Spreadsheets/ss_basics/ssbasics.htmlssbasics.html

Page 31: Utilizing Advanced Features of Spreadsheet Software Copyright © Cannady ACOS. All rights reserved.

QUESTIONS????QUESTIONS????