Advanced Formulas and Functions in Microsoft Excel

Similar documents
Formulas and Functions

Excel Tips for Compensation Practitioners Weeks 9-12 Working with Lookup Formulae

Excel Intermediate. Click in the name column of our Range of Data. (Do not highlight the column) Click on the Data Tab in the Ribbon

Microsoft Office Excel Use Excel s functions. Tutorial 2 Working With Formulas and Functions

Microsoft Excel Lookup Functions - Reference Guide

IF & VLOOKUP Function

Excel & Business Math Video/Class Project #33 VLOOKUP Function for Incentive Pay: Commissions and Piecework

Excel VLOOKUP. An EMIS Coordinator s Friend

Become strong in Excel (2.0) - 5 Tips To Rock A Spreadsheet!

Excel Intermediate

Using Excel for a Gradebook: Advanced Gradebook Formulas

exam. Number: Passing Score: 800 Time Limit: 120 min MICROSOFT Excel 2013 Expert Part One.

ADVANCED EXCEL: LOOKUP FUNCTIONS

Tutorial 2. Review CIS143

Excel 2. Module 2 Formulas & Functions

MODULE VI: MORE FUNCTIONS

MS EXCEL: TABLES, FORMATS, FUNCTIONS AND MACROS

Create formulas in Excel

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited

Excel Working with Formulas and Functions. Using Relative References. Engineering Staff College of India

Getting Started with Excel

Data Service Center May, Compiled by: Katey Semmel Donna Frieze

Excel Expert Microsoft Excel 2010

Using Formulas and Functions in Microsoft Excel

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited EXCEL ADVANCED

How to use the Vlookup function in Excel

Excel Intermediate

LECTURE 10. SPREADSHEET

NUMERICAL COMPUTING For Finance Using Excel. Interpolation

MICROSOFT OFFICE APPLICATIONS

Key concepts through Excel Basic videos 01 to 25

The SUM function: P. 251 Use a sum for a formula when you are trying to ADD different data (in a row or column) together.

Lecture-14 Lookup Functions

Excel 2016: Formulas & Functions

Microsoft Excel 2007

Lesson 3: Logic and Reference Functions

1. NORM.INV function Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.

Skill Set 5. Outlines and Complex Functions

Pivot Table Project. Objectives. By the end of this lesson, you will be able to:

Commonly Used Excel Formulas

Unit 12. Electronic Spreadsheets - Microsoft Excel. Desired Outcomes

FSFOA EXCEL INSTRUCTIONS. Tips and Shortcuts

Section 6. Functions

ICT IGCSE Practical Revision Presentation Spreadsheets. Columns. Rows. This is a range of cells. More than one cell has been selected.

Microsoft Office Excel 2007: Advanced Unit 02 - Lookups and Data Tables

Microsoft Excel 2016 LEVEL 2

2. In Video #6, we used Power Query to append multiple Text Files into a single Proper Data Set:

M i c r o s o f t E x c e l A d v a n c e d P a r t 3-4. Microsoft Excel Advanced 3-4

CS130 Software Tools. Fall 2010 Advanced Topics in Excel

Excel Formulas Cheat Sheet

DESCRIPTION 1 TO DEFINE A NAME 2. USING RANGE NAMES 2 Functions 4 THE IF FUNCTION 4 THE VLOOKUP FUNCTION 5 THE HLOOKUP FUNCTION 6

Microsoft Excel 2010 Handout

Working with Formulas and Functions

Microsoft Office Excel 2007

Excel 2007 Intermediate Table of Contents

Tutorial 1: Using Excel to find unique values in a list

LIBRE OFFICE CALC What is Calc? Spreadsheets, sheets, and cells spreadsheets Spreadsheets Cells

MS Excel How To Use VLOOKUP In Microsoft Excel

Excel Formulas and Functions

Payment Function Exercise

Excel Shortcuts Increasing YOUR Productivity

Instructions on Adding Zeros to the Comtrade Data

1.a) Go to it should be accessible in all browsers

IC3-2. IC3 Key Applications Exam Exam.

Working with Data and Charts

Computer & Careers Mr. Lewis

Cheltenham Courseware Microsoft Excel 2007 Advanced Level

EXCEL AS BUSINESS ANALYSIS TOOL. 10-May-2015

USING FORMULAS AND FUNCTIONS...

Intermediate Excel Training Course Content

Advanced formula construction

Using Advanced Formulas and 9 Securing Workbooks

What is a VLOOKUP? Source

Excel: Linking sheets and summary sheets (Mac OS)

Programs for American Fidelity WorxTime

Excel Tips. Contents. By Dick Evans

CALCULATE NPV USING EXCEL

EXCEL WORKSHOP II ADVANCED FORMULAS AND FUNCTIONS IN EXCEL

Excel. Tutorial 1 Getting Started with Excel. Tutorial 2 Formatting a Workbook. Tutorial 3 Working with Formulas and Functions COMPREHENSIVE

Free Tutorial Central

CITS2401 Computer Analysis & Visualisation

EXCEL TUTORIAL.

Spreadsheet Applications Test

Extracting the last word of a string Extracting all but the first word of a string Extracting first names, middle names, and last names Counting the

K Hinds Page 1. The UWI Open Campus: Pine Site CSEC ICT Class 2 Microsoft Office: Excel

The Parts of a Function:

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited EXCEL INTERMEDIATE

Using Advanced Formulas

Printing Monthly Eligible List for Providers

Open you WordPad/NotePad File in Excel. How to Move Text to Columns (You can see all data in Column A)

Excel Formulas 2018 Cindy Kredo Page 1 of 23

What is a spreadsheet?

Safari ODBC on Microsoft 2010

UPDATING E-AUTOMATE VENDOR ITEM NUMBERS WITH NEW SN REFERENCE NUMBERS

Functions in Excel. Structure of a function: Basic Mathematical Functions. Arithmetic operators: Comparison Operators:

Creating a Spreadsheet by Using Excel

Excel 2016 Functions

EXCEL INTERMEDIATE 1

Department of Language and Linguistics LG400. Computer Induction for Linguists. Class Handouts. Week 7. Working with data on MS Excel.

Transcription:

Advanced Formulas and Functions in Microsoft Excel This document provides instructions for using some of the more complex formulas and functions in Microsoft Excel, as well as using absolute references in formulas. Opening Comments Formulas are equations that perform calculations on values. A formula starts with an equal sign (=) and follows the order of operations (parentheses, exponents, multiplication & division, addition & subtraction). For example, the following formula multiplies 2 by 3 and then adds 5 to the result. =5+2*3 A function is a preset formula. Like formulas, functions begin with an equal sign ( = ) followed by the function s name and its arguments. The function name tells Excel what calculation to perform. The arguments are contained inside round brackets. For example, the most used function in Excel is the SUM function, which is used to add together the data in selected cells. The SUM function is written as - =SUM(A1:A6) Here the function adds the contents of the cell range A1 to A6. Formulas and functions can be entered directly into a cell or into the Formula Bar. Enter a formula in the Formula Bar Enter a formula directly into the cell Information Technology Services, UIS 1

Formulas That Span Multiple Worksheets [3-D References] There are often times when we want to create formulas that apply to data on multiple worksheets. For example, if each department in an organization has its own worksheet, it might be helpful to have a worksheet that totals or averages the budgets for the entire organization. A reference that refers to the same cell on multiple sheets is called a 3-D reference. A 3-D reference is a useful and convenient way to reference several worksheets that follow the same pattern where cells on each worksheet contain the same type of data. To create a 3-D reference, 1. Click the cell where you want to enter the function. 2. Type = (equal sign), enter the name of the function, and then type an opening parenthesis. 3. Click the tab for the first worksheet that you want to reference. 4. Hold down Shift and click the tab for the last worksheet that you want to reference. 5. Select the cell or range of cells that you want to reference. 6. Complete the formula, and then press Enter. This formula says Add the values in cell B2 on each worksheet from Sheet 2 through Sheet 3. Intro to the VLOOKUP Function The VLOOKUP function searches for a value in the first column of a table array and returns a value in the same row from another column in the table array. The V in VLOOKUP stands for Information Technology Services, UIS 2

Vertical. Use VLOOKUP when your comparison values are located in a column to the left of the data that you want to find. 1. Begin by preparing the lookup table. a. The first column must be in alphabetical or numeric order. b. Name the data range. This will make writing the formula easier. i. To name a range, select the cells. ii. Then click the Name box and type the name of the range. These items are in ABC order. 2. The VLOOKUP formula has 4 components: a. Lookup_value: The value to search in the first column of the table array. b. Table_array: Two or more columns of data. The values in the first column of table_array are the values searched by lookup_value. c. Col_index_num: The column number in table_array from which the matching value must be returned. A col_index_num of 1 returns the value in the first column in table_array; a col_index_num of 2 returns the value in the second column in table_array, and so on. d. Range_lookup: A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, VLOOKUP will find an exact match. If one is not found, the error value #N/A is returned. 3. Enter the formula: =VLOOKUP(A4,Items,2) * B4 a. A4 is the look up value. b. Items is the name of the table. Information Technology Services, UIS 3

c. The column number from which the matching value should be returned is 2. d. We want to multiply the resulting value by the number of items sold, which is B4. e. We omitted the optional range_lookup since our values all match. 4. Copy the formula for the rest of the items. Intro to the HLOOKUP Function The HLOOKUP function searches for a value in the top row of a table array, and then returns a value in the same column from a row you specify in the table array. The H in HLOOKUP stands for "Horizontal." Use HLOOKUP when your comparison values are located in a row across the top of a table of data, and you want to look down a specified number of rows. 1. Begin by preparing the lookup table. a. The first row must be in alphabetical or numeric order. b. Name the data range. This will make writing the formula easier. i. To name a range, select the cells. ii. Then click the Name box and type the name of the range. These amounts are in numeric order. 2. The HLOOKUP formula has 4 components: a. Lookup_value: The value to be found in the first row of the table array. Information Technology Services, UIS 4

b. Table_array: The table of data in which data is looked up. The values in the first column of table_array are the values searched by lookup_value. c. Row_index_num: The row number in table_array from which the matching value must be returned. A row_index_num of 1 returns the value in the first row in table_array; a row_index_num of 2 returns the value in the second row in table_array, and so on. d. Range_lookup: A logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, HLOOKUP will find an exact match. If one is not found, the error value #N/A is returned. 3. Enter the formula: =HLOOKUP(C9,Commission,2) * C9 a. C9 is the look up value. b. Commission is the name of the table. c. The row number from which the matching value should be returned is 2. d. We want to multiply the resulting value by the total sales, which is C9. e. We omitted the range_lookup because we want to find an approximate match. Intro to the PMT Function The PMT function calculates the payment for a loan based on constant payments and a constant interest rate. The PMT function has 3 required components and 2 optional components: Rate: The interest rate for the loan. Nper: The total number of payments for the loan. Pv: The present value, or the total amount that a series of future payments is worth now; also known as the principal. Information Technology Services, UIS 5

Fv: (Optional) The future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (zero), that is, the future value of a loan is 0. Type: (Optional) The number 0 (zero) or 1 and indicates when payments are due. If the Type value is 0 or omitted, then the payment is due at the end of the period. If the Type value is 1, then the payment is due at the beginning of the period. We will use the Insert Function wizard for this example. 1. Click on the Insert Function button. 2. Select the Financial category and scroll to the PMT function. Click OK. 3. This brings up a Function Arguments dialog box, which is a helpful tool when completing the components of a complex formula. Notice that a description is provided for each component. Information Technology Services, UIS 6

4. Either enter the appropriate cell reference or click in the appropriate cell for each required component. Notice that we divided the rate by 12, since there will be 12 payments each year. This would have been easy to forget without the helpful description provided. 5. The result is shown in red because Excel recognizes it as an outgoing payment, which is a debit. 6. Notice how easy this formula makes it for us to quickly determine how much we can spend on a house and/or what our target interest rate might be. 7. Tip: To find the total amount paid over the duration of the loan, multiply the returned PMT value by Nper. Absolute References Often, when we create a formula once, we want to apply it to a series of rows or columns. For example, if we apply a SUM formula to the total sales for January, we probably want to apply the same formula to the total sales for the other months. To do so, we use AutoFill to copy the formula to the other months. Excel automatically adjusts the references in the pasted formula to refer to different cells relative to the position of the formula. For example, if we copy the formula one column to the right, then Excel knows to add the cells that are one column to the right of the original formula. We call these relative references - references to cells or ranges are based on their position relative to the cell that contains the formula. Information Technology Services, UIS 7

However, there are times when we want to use absolute references. 1. In this example, each salesperson has a goal to increase their first quarter sales by 8% for the second quarter. 2. To determine the target sales goal, a formula was entered to multiply the first quarter sales by 8% and then add that amount to the first quarter sales: 3. The formula works perfectly for the first salesperson. But look what happens when the formula is copied down. Their target sales did not increase. 4. Let s look at the formula. Notice the problem is that the reference for the rate needs to stay fixed. In other words, it needs to an absolute reference. Should be E2 for each row. Information Technology Services, UIS 8

5. Excel uses dollar signs ($) to indicate absolute references. The $ can be included in the formula by using the F4 button or by typing it directly. a. Go back to the original formula. b. Click between the E and the 2. c. Press the F4 button. d. This tells Excel that as the formula is copied, the E2 reference should stay constant. e. Copy the revised formula down to see the results. Information Technology Services, UIS 9