Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions...

40
Intermediate Excel 2007

Transcript of Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions...

Page 1: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Intermediate Excel 2007

Page 2: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Objectives

• Sorting and Filtering• Charts and Graphs• Formulas and Functions• Working with Sheets• Tips and Tricks

Page 3: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Assumptions

• You have a good working knowledge of Microsoft Excel (any version)

• You have some experience with Office 2007 (familiarity with concept of Ribbons/Groups)

• You know what a Left Click, Right Click and Double Click are

• You know where these Keys are:– Ctrl, Alt, Logo

Page 4: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

To Save you Some Typing

• We have created a workbook that you will work with today

• Create a folder called “Your Name” on the Desktop• Using Internet Explorer, visit this site:– www.myotherbrotherweb.com/ncyf/main.asp

• Right click on Excel Samples link and click Save Target As

• Save the Target document in the new Folder• Open the workbook called: Samples.xlsx

Page 5: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Sorting and Filtering

• Sorting can be done on individual columns, groups of columns or portions of one or more columns

• You can do a quick sort, or you can define multiple sort levels

• Filters change displayed data, but do not remove data from the sheet

• With Filters turned on, selecting multiple rows may have unexpected results

Page 6: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Quick Sort All Data

• Click SampleSalesData Sheet• On Home Tab, in Editing Group, Choose Sort &

Filter DropDown• Experiment with first 2 options and clicking in

Different columnsNote: You can always Undo if you get

unexpected results

Page 7: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Custom Sort

• On Home Tab, in Editing Group, Choose Sort & Filter DropDown

• Click Custom Sort• Notice Field is based on Headings row• Add Level allows multilevel sorts• Increasing/Decreasing is applied at each level

Page 8: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Sorting a Highlighted Range

Lets say you wanted to know who sold the most of each product in Ontario on any date

• Click in cell B2…Do a Quick Sort A to Z• Highlight all the Ontario Rows• Click Custom Sort• Notice Sort By now references Columns• Choose Column D for 1st level• Choose Column E for 2nd level• Choose Largest to Smallest for Order• Click OK

Page 9: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Sorting less than a Complete Row

In very rare instances, you may want to reorganize just a portion of the data, you can select columns from multiple rows to sort, but bear in mind doing this corrupts your overall data

• Highlight cells A6 to C12…• Do a Quick Sort, Descending order. Notice that only the highlighted cells are reorganized,

the other columns are not lined up with their original data

• Click Undo to restore the data

Page 10: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Filtering

• On Home Tab, in Editing Group, Choose Sort & Filter DropDown

• Click FilterThis turns on/off the filtering function. You will

notice a dropdown arrow appears on all of the column headings

• Click Dropdown for Region• Click Select All…Click Alberta…Click OK• ReSelect All for Region

Page 11: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Advanced Filtering

I want to know anyone who sold more than 10 units of anything

• Click Units DropDown• Click Number Filters…Greater Than…10…OK• Click Units DropDown• Click Sort Largest to Smallest

Page 12: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Pie Charts and Graphs

Chart or Graph• Visual representation of a set of data• Shows trends or relationships in data• Must have a data source• Data source consists of Series Name, Series

Values and Category Values• Can be superimposed on a sheet or in its own

chart sheet• Overall look/style can be customized

Page 13: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Chart Types

• Column• Line• Pie• Bar• Area

• XY (Scatter)• Stock• Surface• Doughnut• Bubble• Radar

Page 14: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Chart Elements

Five common elements• Chart Area – Outer Box• Chart Title – Descriptive Label• Plot Area – Graphical Representation• Data Marker – Represents a Data Value• Legend – Explains Markers and Symbols

Page 15: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

3d Pie Chart

• Click the Sheet entitled: PieChartData• Highlight Cells A2 to B8

(do not include the heading or the total line)• Go to Insert Tab, Charts Group and click the Pie

Drop Down• Choose Exploded Pie in 3-D

(Chart is placed in sheet with data)• In the Design Contextual Tab, click Move Chart• Choose New Sheet

Page 16: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Customizing the 3D Chart

• Click Contextual Tab Layout• Click Data Labels Drop Down…Click Center• Click Data Labels Drop Down…More Data Label

Options• Click Percentage Check Box• Uncheck Value Box• Click Close• Click Design Tab…Experiment with Chart Layouts

Page 17: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Multiple Series Line Chart

• Click the Population Statistics Sheet• Highlight Cells A2 to C7• Click Insert…Line Dropdown…2-D Line• Right Click Massachusetts (Lower) Line• Choose Format Axis• Click Secondary Axis• Click Close

Page 18: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Formulas containing Functions

Function A named operation that returns a valueMay or may not require arguments

=SUM(A1:A10)=TODAY()

Over 300 different functions built-inWorks with Numbers, Dates and Text

Page 19: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Good Formula Practices

• Don’t hide important data within a formula– e.g. =A2*0.05 vs =A2*E2, with Tax rate in E2

Page 20: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Good Formula Practices

• Keep formulas simple. Use functions where possible

• Break up formulas for clarity, storing intermediate values in other cells.– C11=SUM(A1:A10)/SUM(B1:B10) is ratio of 2 sums,

but “hides” each of the sums– Better would be:

• A11=SUM(A1:A10)• B11=SUM(B1:B10)• C11=A11/B11

Page 21: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Simple Formulato Calculate Working Days

• Click WorkingDays Sheet• Click in Cell B7• Click fx button next to formula bar• Type Working Days in search box and click Go• Double click NETWORKDAYS• Click Jump to Sheet button next to Start_date• Click Cell B3…Click Jump Back Sheet Button• Click Jump to Sheet button next to End_date• Click Cell B5…Click Jump Back Sheet Button• Click OK• Play with other dates

Page 22: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Conditional Formulas

• WeeBee Shippers ships DVDs for a local warehouse. The Shipping price charged is based on the number of DVDs being shipped, according to the following scale:

• Create a formula to calculate the shipping charge based on the number of DVDs shipped

No. of DVDs Shipping per DVD1-5 $1.49

6-20 $1.24

21+ $1.00

Page 23: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

SolutionUse the IF Function:IF(Calculated Expression, Result if True, Result if False)• e.g. IF # Shipped > 20, then shipping cost is $1.00 otherwise (#

shipped is less than 20) and if # shipped > 5 then shipping cost is $1.24 otherwise (# shipped is 5 or less) so shipping cost is $1.49– The statements in ( ) are assumed, based on the calculated expression not

being true

The Result of the IF is then multiplied by the number of DVDs (B1)

Page 24: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Loan Calculator Formula

• Click the LoanCalc Sheet• In Cell B6 type:

=PMT(B2/B3,B3*B4, B1)• In Cell B7 type:

=B3*B4*B6• In Cell B8 type:

=B7 + B1• Fill in Loan Data

e.g. $100,000, 5%, 12 per year, 30 years

Page 25: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Formulas based on data in other sheets

• Click PaymentDetails Sheet• Click in C2…type =• Click LoanCalc sheet• Click B1• Click Check Mark• Autofill 3 remaining lines

Page 26: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Naming Ranges

• You can assign “Names” to ranges of cells• These Names can be used in formulas• The Name will appear in the “Name Box” to

the left of the Formula Bar• Right click on a Cell or Cell Range and Click

Name a Range

Page 27: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Name Cells• Click LoanCalc Sheet• Right Click on Cell B1…Click Name a Range• Name the Range Loan• Name the following cells:

• In Cell B6 type:=PMT(Rate/PPY,PPY*Years, Loan)

Cell Name

B1 Loan

B2 Rate

B3 PPY

B4 Years

Page 28: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Working with Worksheets

• To Insert a New Sheet, click on the Insert Worksheet Tab

• To Delete a Sheet, right click on the sheet name and click Delete

• To Move a Sheet, simply click and hold and drag the sheet name

Page 29: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Working with Worksheets

• To select multiple adjacent sheets – click the first sheet name, hold down shift, click the last sheet

• To select multiple nonadjacent sheets – click the first sheet name, hold down CTRL to add (or subtract) sheets from selection– NOTE 1: When multiple sheets are selected, editing

occurs simultaneously in the same cell on all sheets– NOTE 2: Pressing Print with multiple sheets selected,

prints all of the sheets

Page 30: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Working with Worksheets

• To copy a complete sheet – Two options1. Right click sheet name…click Move or Copy…

click box next to Create a Copy…Indicate destination…Click OK

2. Right Click the diagonal triangle to the left of Column Heading A (this selects entire sheet)…Click Copy…Insert New Sheet… Right Click the diagonal triangle to the left of Column Heading A…Click Paste

Page 31: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Working with Worksheets

• To move a Sheet from one Workbook to another– Both Workbooks must be open– Right click Sheet to be moved– Click Move or Copy– Choose Destination Workbook from dropdown– Indicate where you want the sheet to “land”– To keep a copy in the original workbook, click

Create a copy box

Page 32: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Find and Replace

Page 33: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Protection• Individual Cells are Locked by default to prevent

unintended editing. However, the worksheet’s protection must be turned on before protected cells is in effect

• Review Tab…Protect Sheet or Protect Workbook

Page 34: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Rotated Column Headings• Right click on Cell…Format Cells …Alignment…

Rotate Text 60 degrees

Page 35: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Paste Special

Page 36: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Split and Freeze Panes

Page 37: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Using VLookup

Page 38: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Tips and Tricks

• To enter two lines of text within a cell– Press Alt – Enter

• To enter a number as text– Start the entry with a single quote (next to Enter)

• To see Formulas instead of Results– Formula Tab…Formula Auditing Group…Show Formulas Toggle

Button• To view multiple worksheets from the same workbook

simultaneously– View Tab…Window Group…New Window– View Tab…Window Group…Arrange All

Page 39: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Tips and Tricks

• In Formulas, & used to concatenate two entries– =“Today is “ & TODAY() yields Today is 8/12/10

• To refer to a “fixed” cell, use $ before the Cell Reference Column and/or Row. This reference doesn’t change when cell w/formula is copied, moved or AutoFilled (Absolute Reference)– =$A$7 * 5

• To copy a formula to another cell WITHOUT changing the cell references, edit the formula in the formula bar, highlight it, CTRL-C, click on destination cell, click in formula bar, CTRL-V

Page 40: Intermediate Excel 2007. Objectives Sorting and Filtering Charts and Graphs Formulas and Functions Working with Sheets Tips and Tricks.

Tips and Tricks

• Adjacent ranges: (Hold and Drag to Select)– A1:G5

• Nonadjacent ranges:– A1:A5;F1:G5– Select nonadjacent cells by holding CTRL during

selection process• While a range is selected, ENTER and SHIFT-

ENTER move you back and forth through the cells in the range