Basic Excel Overview
© Mike Splane 2017
The picture shows my data range on the left, the column chart in the middle, and three formatting icons on the right. Two tabs for working with charts, Chart Tools, will appear in the ribbon above the chart.
The names shown under the Horizontal X-axis are created from the column labels. The range of values shown on the Vertical Y-axis start with zero and go up to the biggest number found in the data.
In this chart, the Legend appears under the chart. It shows the names of each row of data and shows the color used to represent that row in the chart.
Each of the rows of data will appear in the chart with a different color. Each block of color represents a different data point. The Sandwich data appears as the blue part of each column. A set of data points sharing the same color is called a data series.
Add/Edit Names and Labels
Add/Edit Colors and Styles
Add/Edit Chart Elements
The Change Colors icon is used to switch the set of colors that are used in the chart.
The Chart Styles icons are used to select a design for your chart.
The Switch Rows/Columns icon is used to reverse the X and Y axis layout of the chart.
The Select Data icon is used to alter the range of data you selected when you created the chart. The dialog box for this icon lists each row and column used to create the chart. Un-checking a box next to a series name will hide that data and alter the appearance of the chart. If you selected the wrong data when creating your chart, you can select the name of a series and press the Delete icon to remove it. In my experience it is usually easier to start over rather than trying to make corrections through this dialog box.
The Change Chart Type is used for obvious reasons.
The Move Chart icon is used to move the chart into a new or different worksheet.
If you position your cursor above different parts of the chart, a label will appear, giving you the name of that chart element. Try it. You can format any element in the chart by right-clicking on it. Select the Format option at the bottom of the pop-up menu. A formatting dialog box for that element will appear to the right of the chart.
The icons stand for:
Fill & Line Special Effects Series Options
Line / Border Shadow/Glow/Edges/3-D Varies by type of chart.
The Add Chart Element icon on the Chart Tools Design tab (the name of this tab varies, different versions of Excel use different names) gives you a dropdown menu listing items (labels for example) to add or remove from the chart. In earlier versions of Excel, this set of options had its own tab in the ribbon.
Watch the video starting at 5:35 to see examples of how to use the chart elements options. https://www.youtube.com/watch?v=KOOGje8W3P0Time = 9:19
Excel has a built-in set of advanced formulas, called functions. Usually a function needs to be given one or more pieces of data (each piece is called an argument) before it will work. The arguments are listed inside parentheses following the name of the function. Each argument is separated by a comma.
Here are some commonly used functions:
SUM Example = SUM(C3:G9)
A range is the required argument.
Result: Total of all numbers in the range.
A range is the required argument.
Result: Average of all numbers in the range.
ROUND Example = ROUND(A4/3,2)
A formula is the first argument.
The second argument is the number of decimal places to keep.
Result: if A4 = 5 then 5/3 = 1.6666 which is rounded to 1.6700.
This function does not need an argument.
Result: The current date is displayed.
SUMPRODUCT Example = SUMPRODUCT(A1:B3,C1:D3)
This function multiplies the contents of each individual cell in one range by its counterpart in another equally sized range and displays the total.
The result is a single number.
SUMIF Example = SUMIF(B1:B3,”>5”,C1:C3) This function searches the range given in the first argument to find cells which match the criteria given in the second argument. The values from the corresponding cells in the range in the third argument are summed.
You can create Sum functions with the AutoSum icon (S) found on the Home tab. There are several different ways to create functions with the icon.
You can write formulas in Excel to test the value in a cell. If the value matches the Boolean formula’s terms, Excel displays “True.” If they don’t match, “False” is displayed.
Examples: = A1 < 4, = A1 = “Red” = A1 < 10 = A1 <> 5
These formulas will all evaluate as either True or False, depending on the contents of cell A1. Note that when you compare text strings, the string must be in quotes. Boolean formulas are used as a test condition in IF Functions, as described below.
The IF function works with Boolean formulas. The words TRUE and FALSE that a Boolean displays are replaced with numbers, formulas, functions, or text strings.
In Excel, an IF Function has three arguments.
The first argument is the Boolean formula that compares the contents of a cell to a value.
The second and third arguments give two options of what to display. If the Boolean formula evaluates as “True” the second argument is displayed. If the equation evaluates as “False” the third argument is shown.
C3 is > 80
We would write the function like this: =IF(C3>80,”PASS”,”FAIL”) Commas separate each argument.
If the value in cell C3 is greater than 80, then the condition is met. The word PASS will appear. If the value in cell C3 is NOT greater than 80 then the condition is not met. The word FAIL will appear.
The second and third arguments in IF Functions can be:
You can even use an IF Function as an argument. This is called a nested IF.
Example: =IF(B9 = “Yes”, 21, IF(B10 = “Yes”, 22,23))
VLOOKUP functions are used to find information from a table. For example, you could have a table showing the sales tax rates for different counties. You can give Excel the name of a county and it will show the tax rate for that county.
A VLOOKUP Function has three arguments and looks like this: =VLOOKUP(C4,G5:H7,4)
The first argument is always a cell reference to the input cell where the user types in what to look up.
The second argument tells Excel the location of the table. It can be expressed as range notation or as a range name. The range includes the data and the row labels but not the column labels. The labels must be in the first column of the table and must be in alphabetical order. Excel will look in the first column of the table for a match to the contents of the input cell and extract data from that row.
The third argument, which is always a number, is the location of the column in the table which will contain the desired output information. The first column in the table is designated as 1, the second is designated as 2, etc.
A common problem with LOOKUP functions occurs when the entry in the input cell does not match anything in the table. By default, Excel shows the closest match; but this may not be what you want. You can stop users from entering invalid entries into the input cell by using Data Validation. Here’s how: Select the cell(s) where data entry should be restricted. On the Data tab, click the Data Validation icon. On the Settings tab, under Validation Criteria, choose List in the Allow box and enter a list. Either by typing a list directly into the source box, using commas to separate each item in the list, or by clicking on the icon in the Source Box and then using the mouse to highlight the cells in the worksheet that contain your list. Press Enter and click OK.
Excel has database capabilities that are suitable for small and simple tasks, working with individual data tables. A data table consists of one row of labels, called field names or headers, and several rows of data. The headers row is always the first row, above the rows of data. The rows of data should not contain any blank cells. Tables should be separated from other areas in the worksheet by a blank row and a blank column.
You can select any cell in the data table to work with the entire set of data; you do not have to mouse over and select the entire table.
You can use the A-Z icon on the Data tab to sort data in a table. First click on any cell in a column that contains data. Then click on the A-Z icon. Data in the selected column will be sorted in alphabetical order. The other columns in the table will be rearranged at the same time so each row of data stays intact.
If your column contains numbers, the A-Z icon will put the numbers in order, starting with the smallest. The Z-A icon will put the numbers in order, starting with the largest.
You can use the Sort icon to sort a table simultaneously by more than one field. Click in the data. Click on the Sort icon. Select a column to sort by and then select the order Click on Add Level to sort the data by a second column into subsets of the first selection. For example, you might want to sort by last name and then by first name.
Click on any cell in the data table. On the Data tab, select Filter. Pull-down arrows will appear next to the column headings. To hide some of the records, click on the pull-down arrow in a field. Every entry that has a checkmark next to it will be displayed. Remove the checkmarks for any records that you wish to hide.
You can do mathematical calculations on any columns that contain numbers. These calculations can be broken down to include subtotals for the results of similar records. First, sort one of the columns that contains text, to group similar records together. Click on any cell in the data table. On the Data tab select Subtotals. In the first dialog box select the column you just used to sort the data. Then select the type of calculation and then select the fields to summarize.
Video Displaying Subtotals Time = 1:05
Pivot tables give you tremendous flexibility in studying and manipulating large amounts of data. You can sort multiple fields of data using multiple criteria, and manipulate the data in several different ways. Pivot tables are particularly useful for analyzing marketing and manufacturing data involving multiple factors.
Video Create a Pivot Table Time = 4:34
Video Doing More with Pivot Tables Time = 3:29
Click anywhere in the data table.
From the Insert tab, Tables group, click the Pivot Table icon to open the Create Pivot Table dialog box. Click OK.
The Pivot Table Field List should be open on the right side of the worksheet. To create the pivot table you choose fields and drag them from the top of the task pane into the boxes in the lower right corner. Fields containing text can be used as filters, as row names, and as column names. Fields containing numbers are used in the values area.
You can add more than one field to any section.
You can add multiple instances of a single value field, and then customize them to show different mathematical operations: count, average, sum, etc.
If the task pane disappears, click on the pivot table to reopen it.