Lecture 2 Using Excel 2010 OVERVIEW • • • • • • • Complex Formulas Basic Functions Arrays Sorting Data Outlining Data Filtering Data Formatting Tables COMPLEX FORMULAS • A complex formula involves more than one mathematical operation • Calculations are done according to the Excel’s order of operations Order of Operations • Calculate the percentage of sales of Pete Lily seeds sold that were of the white variety Complex Formula by Cell Reference • Calculate the total order amount due for this order Create & Copy Formula Relative References Formulas with Absolute References • You can use an absolute reference to keep a row and/or column constant in the formula. Absolute References • Calculate the tax amount due on each item in this customer's order Absolute References BASIC FUNCTIONS • Excel has an entire library of functions or predefined formulas that users can take advantage of • common functions include sum, average, product or count, • Excel has hundreds of different functions to assist with your calculations, including things like formatting text, referencing cells, calculating financial rates, analyzing statistics Parts of a Function Create a Basic Function Using Autosum Function Library • A great place to explore functions is in the Function Library on the Formulas tab. • Excel functions categories include Financial, Logical, Text, Date & Time • Let us review some of them Function Library Insert Function Command • The Insert Function command enables users to search for a function by typing a description or by selecting a category to peruse Insert Function Command Insert Function Command Functions - Financial • Ex: Future sum from annual payments Functions – Math & Trig Functions - Statistics Functions - Text Functions - Logical Functions - Information Functions – Lookup & Reference Other Functions - Engineering • Students, find examples on your own for – Engineering – Cube • Tip: When working with some function in your other course work, look it up in Excel. It may save you a chunk of time and effort MATRICES • An array is multidimensional list of elements • A vector is an array with one row or one column • A matrix has at least two rows or two columns • In Excel, matrix elements can be entered directly into cells 3 2 4 0 1 4 2 3 2 1 1 0 1 ( 3 x 5) 2 2 Matrix Addition Matrix Addition Matrix Addition Scalar Multiplication • You may type F4 to get the Absolute Reference Transpose of a matrix • • Hit F2 • Hit Ctrl-Shift-Enter Transpose of Matrix (Alternate) Matrix Multiplication Matrix Multiplication • Hit F2 • Ctrl-Shift-Enter Determinant of a Matrix Inverse of a Matrix • F2 Inverse of Matrix • Ctrl-Shift-Enter Systems of Linear Equations Systems of Linear Equations SORTING DATA • Arranging your data alphabetically, from smallest to largest, etc, can help you find the information more quickly. Sorting Alphabetically Sorting in Numerical Order Sorting By Date and Time Custom Sort Custom Sort Sort By Cell Color, Font Color Etc Sort By Cell Color, Font Color Etc OUTLINING DATA • Outlines give the ability to group data that you may want to show or hide from view, and create a quick summary using the Subtotal command. • Always sort before outlining. Outline Data Using Subtotal • This sales data has been sorted by T-shirt size Outline Data Using Subtotal Show/ Hide Outlined Data View Outlined Data by Group Level Ungrouping the Data Ungroup Data & Remove Outlining Creating Groups Creating Groups FILTERING DATA • Filters can be used to narrow down the data in your worksheet and hide parts of it from view. FILTERING DATA FILTERING DATA Adding Another Filter Clear Filter Filtering Using Search Text Filters Date Filters Number Filter FORMATTING TABLES Format Information As a Table Modifying Tables Change Table Stlye Change Table Style Options References • http://office.microsoft.com/enus/support/results.aspx?av=zxl • http://www.functionx.com/excel/index.htm • www.youtube.com