Professional Documents
Culture Documents
Naming ranges
A rectangular group of cells on a worksheet is called a range. One way to make a reference to a
range (such as in a function) is to show the first cell address, a colon, and the last cell address
(A1:N80). Another way to reference a range is to define it with a name. The name (Expenses)
may be used in the argument (number) portion of formulas (instead of cell addresses).
The Name box has a drop down arrow that you can use to
select a range, the cursor will move to the range and the
range will be highlighted. [You can use the Name box to
go to a specific cell or range, just select the Name box,
type the cell address or range name and press e.]
The range can be used in a formula such as: = sum(march) = average(grades).
To use a name in a formula, start the formula, when you need to put in an argument, either type
the name in place of the cell range or click the drop down list of names and select a name from
the list. Finish the formula as you normally would and press e.
Sheet tab scrolling buttons Sheet tabs
Working with sheets
Files in Excel are called workbooks because they may
contain multiple worksheets and/or chart sheets. Each
worksheet may contain 256 columns and 65,536 rows.
Initially the workbooks have three worksheets; you may change that by clicking on Tools,
Options, General and changing the number of Sheets in New Workbook. The sheet tabs are
displayed in the lower left corner of the screen. The Sheet tab scrolling buttons are to the left of
the sheet tabs; use the buttons to scroll the display of the sheet tabs, only a few are displayed at
once.
To make a sheet active, click its tab at the bottom of the screen and the sheet will be displayed.
You may select several sheets at once by either holding down the s key (if they are adjacent
sheets – click on the first sheet tab and hold down the s key and click on the last sheet tab) or
if they are not adjacent sheets hold the c key (a key on the Mac) as you click on the sheet
To rearrange the worksheets drag the worksheet tab to a new location (in the list
of sheets) a b appears above and to the left of the sheet tab, as you drag the
mouse the b displays where the tab will be moved, release the mouse button to drop the sheet tab
in a new position.
When creating formulas the cell addresses may be all on one sheet or they may be spread out
over several sheets. A sample formula is: Sheet1!C10+Sheet2!C10+Sheet3!C10 if the sheets
had been renamed the formula might be: Western!C10+Central!C10+Eastern!C10. The formula
may be typed in, with the sheet name followed by an exclamation mark, or you may use the
mouse to select each address in the formula. When you save the workbook ALL the worksheets
are saved in the same file.
You may also have a formula that includes cell addresses from more than one file; in the formula
the file name will be enclosed in brackets. An example of a formula using addresses from
multiple files: =D14+Eastern!D14+[BUDGET04.XLS]Central!$D$14. If you are working with
more than one file, you may want to save them as a workbook. Have open all the files that you
are working with, click File, Save Workspace. When you open the workspace file it will open
the files that were being used when the workspace was saved. Workspace files are small and
have .XLW for the extension.
AutoCalculate
AutoCalculate is on the status bar on the right hand side. If
you select several numbers and look at the AutoCalculate
area on the right side of the status bar, you will see a display like: SUM=113334. In other
words it is giving you the SUM before you ask; the answer is only on the status bar though, not
in a cell. It will continue to display the sum for selected numbers unless
you change the function. To change the function, point to the
AutoCalculate area and press the right mouse button (or c + click the
mouse button on the Mac), the choices displayed are: Average, Count,
Count Nums, Max, Min, and Sum. It will be set for the selected function
until you change it again.
To use Insert Function, click the cell where you want the answer displayed, click the Insert
Function button. Select a category from Or Select a Category drop-down list. Select the desired
function from the Select a Function list, click OK. Most functions will require a number, so the
next dialog box will request information. A
number may be either cell address or a range of
cells, the number of decimal places, an interest
rate, a logical test, etc. Fill in the information as
requested and click OK. The answer will be
displayed in the cell; the formula will be
displayed in the Formula Bar. There are at least
two parts to most functions: the function itself
(i.e. SUM, AVERAGE, COUNT) and the number
or numbers AVERAGE(number1, number2,…).
The function determines what the formula does
and the number (or argument) indicates which
cells will be used. Some functions require more
than one argument, which are separated by
commas; such as IF(logical_test, value_if_true, value_if_false).
Useful Functions
Functions that are used frequently are Sum, Average, Round, Max, Min, If, Count, CountA, Now
and Today. The AutoSum button is the easiest way to enter the Sum function, Sum will add up a
list of numbers whether they are in a single column or row or in multiple columns and rows [ex:
=Sum(B5:B22)]. All of the functions can be entered with Insert Function. The Average
function will add a list of values then divide by the total number of values [ex:
=AVERAGE(B5:B22)]. Round will round a number or an answer to the specified decimal
places [ex: =ROUND(B23,2) or =ROUND(AVERAGE(B5:B22), 2)]. Max will determine the
greatest number in a range [ex: =MAX(B5:B22)]; Min will determine the smallest number in a
range [ex: =MIN(B5:B22)].
The If function is used to test a condition, if the result is "true" it will respond with one value, if
the result is "false" it will respond with a different value [ex: =IF(B5>100, B5*.025, B5*.03) in
this example if the value in B5 is greater than 100 it will multiply the value by .025 if the value
in B5 is not greater than 100 it will multiply by .03].
Use the Today function to enter today's date [ex: =TODAY()] or use the Now function to enter
the date and the time [ex: =NOW()]. You may subtract two dates to find the number of days
between them. You may also add to a date to discover a date the specified number of days away.
You may subtract to find the amount of time between two given times, the given times must be
in time format. Use the Date & Time formats to change the appearance of the date and/or the
time. When you enter a date in a cell, Excel sees it as a serial number that equals the number of
days since 1/1/1900 until the given date; Excel assumes a date format so that it appears as a date.
An absolute cell address is one with $ signs in front of the column and/or the row such as $C$25.
You put a $ in front of the column if the column needs to remain constant and/or you put a $ in
front of the row if the row needs to remain constant. There are four possibilities, a relative
address: C25 and three absolute addresses: C$25, $C25, $C$25. You may either type the $ or
you may use the $ key (a + T on the Mac) to put the $ in for you. When typing the formula,
click the cell that needs an absolute address then press the $ key (a + T on the Mac) until
you have the correct address. If the formula is already typed, select the address in the formula
bar and then press the $ key (a + T on the Mac).
Data Sort
The Sort Ascending and Sort Descending buttons
on the Standard toolbar only sort by one column.
With the Data, Sort command you can sort by up
to three columns or fields.
Select a column (field) from the drop down list under Sort by, then click Ascending or
Descending on the right side. To sort by additional columns or fields, make a second selection
Subtotals
The Subtotals command will take a sorted data list and
apply a function such as Sum to a selected field and
display the results. In order to display the subtotals, first
select the list and sort it; click Data, Sort. In the Sort
dialog box select the field to be sorted, choose whether
you want Ascending or Descending and click OK. [You
may select to sort by up to two additional fields.]
The subtotals appear on the spreadsheet in the selected column. A grand total appears at the very
bottom. In the gray area to the left of the spreadsheet are buttons 1, 2, 3 to control the level of
To create a validation for a certain type of value, select the cell or cells, click Data, Validation.
Under Data select from between, not between, equal to, not equal to, greater than, less than,
greater than or equal to, and less than or equal to. Fill in the requested values in Minimum,
Maximum or Value. To create a drop down list for a cell, first type the list of items. Select a
cell, click Data, Validation. Under Allow select List then select the cells or type the range in
Source click OK. A cell Validation may be easily copied using AutoFill.
Create a Chart
Charts may be created on the same sheet as the data or on a separate
chart sheet. If the chart and the data are on the same sheet, they may
be viewed and/or printed together. If the chart is on a chart sheet, it will be printed separately on
a whole sheet of paper. In order to create a chart, select the data on the worksheet, then click the
Chart Wizard button. Step 1 of the Chart Wizard is displayed.
The data selection could include only one data series (a single column or single row) or it could
be several series (multiple columns or multiple rows). Pie charts need only one data series that
totals 100%. It may be necessary on a pie chart, to select two separate ranges, in the case where
one column has the headings and another column the data. To select two separate ranges, hold
down the c key (hold the a key on the Macintosh) while selecting the second range.
Edit a Chart
Click the chart to select it, handles are displayed around the border. You need to select the chart
to move it on the sheet, delete it, or to resize it. To move it, just drag with the mouse on the
middle of the selected chart. To size the chart area, drag one of the handles away from the center
of the chart to make it larger or toward the center of the chart to make it smaller. To delete a
selected chart, just press the d key (use
the k key on the Macintosh).
To change the Chart Type, select the chart, then click the Chart Type drop down
list in the Chart toolbar. Select the desired type, there are eighteen chart type
choices, some 2-D and some 3-D to select from. The choices are: Area, 3-D
Area, 3-D Surface, Bar, 3-D Bar, Radar, Column, 3-D Column, Bubble, Line, 3-
D Line, Scatter(XY), Pie, 3-D Pie, Doughnut, ,3-D Cylinder, 3-D Cone, and 3-D
Pyramid.
To change the format of any part of the chart, select the chart, then click
directly on the object to select it. Click the Format button in the Chart toolbar.
The Format dialog box is displayed. The choices will change with different
objects. With Patterns you may select a Border style, color, and/or shadow and you may select
an Area color or Fill Effects. Click the Font tab to change the font, size, or color of the text.
Other choices may include: Series Order, Placement, Scale, Number, Alignment, Axis, and Data
Labels depending on the object selected.
Chart Menu
When the chart is selected, a Chart item is added to the Menu at the top
of the screen. The Chart menu has: Chart Type, Source Data, Chart
Options, Location, Add Data, Add Trendline, and 3-D View. Use Chart
Type to change the type of the selected chart. Source Data is used to
change the range of the data series. If you need to change whether the
chart is on a worksheet with other information or on a chart by itself, use
Location. Add Data is used to put additional data on a chart. You can
also click Add Trendline to add that to your chart. 3-D View is discussed
below.
The Chart Options dialog box has six panels (the same as Step 3 of the Chart Wizard): Titles,
Axes, Gridlines, Legend, Data Labels, and Data Table. Use Titles to type, edit or remove the
individual titles on the chart. Use Axes to turn on or off the labels on an axis. On the Gridlines
panel you can display major or minor gridlines on either axis. The last three: Legend, Data
Labels, and Data Table are for displaying or not displaying information.
To add, delete, or edit a title, select the chart, then click Chart, Chart Options, Titles. To add a
title, type the title in the correct text box and click OK. One way to remove a title is to click
Chart, Chart Options, Titles then select and delete the title, click OK. To edit the title, correct
the title in the text box, then click OK. Another way to edit the title is to select it (on the chart),
then click in the selection to get the flashing insertion bar. Edit the title text as you would any
The Scale panel has the Value (Y) axis scale settings. Usually the Auto check box is selected for
each Scale value. If you wish, you can manually specify the values for Minimum, Maximum,
Major unit, and Minor unit. You can also specify where the X axis crosses the Y axis in the
Category (X) axis Crosses at: text box.
Use the Font panel to change the Font, Size, Color, and Effects for the text on the selected axis.
Use the Number panel to format the numbers on the axis, such as adding $ signs or commas or
setting the number of decimal places. Use the Alignment panel to change the orientation of the
text on the axis. You can specify the degree angle that you want for the text. Instead of
specifying the number for Degrees, you can put your mouse on the red diamond and drag it up or
down to the desired location.
15. Click in cell H10, click the Function Wizard button, click MIN, click OK, select the cells
C10:F14, click OK. The answer appears in the cell, the formula is: =Min(C10:F14).
16. Click in cell H11, click the Function Wizard button, click MAX, click OK, select the cells
C10:F14, click OK. The answer appears in the cell, the formula is: =Max(C10:F14).
17. Click in cell H14, click the Function Wizard button, click AVERAGE, click OK, click Insert,
Name, Paste select Operating_Income, click OK. The answer appears in the cell, the formula
is: =Average(Operating_Income).
18. Click in cell G14, click the Function Wizard button, click ROUND, click OK, select cell
H14, click in the num_digits box and type 0, click OK. The rounded answer from cell H14
appears in G14, the formula is =Round(H14,0). [Another way would be to change the
formula in H14 to be: =Round(Average(Operating_Income),0) the answer appears in H14.]
19. Click in cell H7, click the Function Wizard button, select ROUND, click OK. Click the
Function drop down arrow on the Formula bar, select SUM, click Insert, Name, Paste select
Travel_Expenses then click OK. Instead of the Step 2 screen for the Round function you will
probably get an error message. In the Formula bar, the cursor is flashing in the formula, type
type ,2 press e. [The completed formula is =Round(Sum(Travel_Expenses),2). ]
20. Click the Save button.
35. Click the Orders sheet tab to select it; click cell I2.
36. Use the Function Wizard to put in an IF formula to calculate a discount for orders over $700;
select IF, click OK. For logical_test type: F2>700 for value_if_true type: F2*0.9 for
value_if_false type: F2 click OK. The completed formula is: =IF(F2>700, F2*0.9, F2)
37. Use AutoFill to copy the formula down the column.
38. Select column I, then look at the AutoCalculate number displayed to see the Sum. Point to
the AutoCalculate number and press the right mouse button (or a + click the mouse on a
Mac) select Average.
39. Change the AutoCalculate function to Min, Max and Count Nums.
40. Click in cell J2; use the Function Wizard to put in an IF formula to calculate a 5% charge for
delivery under 5 days. Select IF, click OK. For logical_test type: H2<5 for value_if_true
type: I2*0.05 for value_if_false type: 0 click OK. The completed formula is:
=IF(H2<5, I2*0.05, 0)
41. Use AutoFill to copy the formula down to J70; also AutoFill the formula in K2 down to K70.
42. Go to cell M2 type the formula or use the Insert Function Wizard to create the formula:
=COUNTIF(B2:B70,"EC08") Any part number could replace “EC08” to count the number
of orders for that part number.
43. Click the Save button. Click in A2 or some other cell in the list.
13. Select B4:B7, then hold the c key (a key on the Mac) down and also select E4:E7. [If
you inserted a column in step #9 above, select C4:C7 and F4:F7.]
14. Click ChartWizard, Step 1 is displayed.
15. Click the Pie chart type and the first subtype; click Next to go to Step 2.
16. Click Next without making changes on Step 2.
17. On Step 3, type Cost of Goods Sold in the Chart title box; click Next.
18. On Step 4, select As new sheet Chart1 then click Finish to see the completed pie chart.
19. Click in the chart title, type - March 2004 at the end of the title [the complete title will be
Cost of Goods Sold - March 2004 when you finish]; click outside the title area to deselect it.
20. Still on the pie chart sheet, click the drop down arrow for the Chart Type on the Chart
toolbar. [If the Chart toolbar is not displayed, click View, Toolbars, Chart.]
21. Click the 3-D Pie Chart type. Click the pie chart, the whole pie is selected.
22. Click one of the pie wedges to select it (handles around one wedge only); click Format Data
Point on the Chart toolbar, select a color, click OK.
23. You may change the color of the other wedges if there is time.
24. Click Chart, Chart Options; turn off Show Legend and on Data Labels, check Category name
and check Percentage, click OK.
25. Select the “Freight” wedge, drag the wedge away from the center about ½”.
26. Select Chart, 3-D View; change Rotation to 60º, click Apply; then change it to 180º click
Apply again. Change the Elevation to 25°, click OK.
27. Select the Plot Area of
the chart (click in the
“corner”) and enlarge
the pie by dragging a
corner handle.
28. Click one of the data
labels (all of them will
be selected); change
the Font Size to 12,
also click Bold and
change the Font Color if desired.
34. Click the Save button. Click the Sheet1 button to return to the original worksheet.
35. Click the column chart to select it. Click one of the “Markdown” (yellow) bars to select the
whole “Markdown” data series.
36. To remove the data series, press the d key once.
37. On the worksheet, select B6:E6 (the Markdown row; C6:F6 if you inserted a column), place
the mouse pointer (arrow) at the bottom of the selected area, drag it to the chart and release
the mouse button to add the series to the chart.
38. Change the chart to a 3-D Column. Enlarge the chart and the plot area as needed.
39. Click one of the "Markdown" bars on the chart. Click Format Data Series on the Chart
toolbar, then click the Series Order tab.
40. Click the Move Up and Move Down buttons to rearrange the order of the four data series,
place them in order with the shortest in the front to the tallest in the back. Click OK to
complete the command.
41. Click the Legend to select it, click Format Legend on the Chart toolbar.
42. On the Patterns dialog box, select a light gray color for the Area.
43. Click the Font tab, select 10 for the size.
44. Click the Placement tab, select Bottom as the placement for the legend, click OK.
45. Click the labels on each axis and set each with Font Size 10.