Lab Manual Excel Module

Similar documents
GDC MEMORIAL COLLEGE BAHAL (BHIWANI)

Lesson 4: Auditing and Additional Formulas. Return to the FastCourse Excel 2007 Level 3 book page

EVALUATION ONLY. In this chapter, you will learn new. Text and Analysis EXCEL 2016 CHAPTER TIMING PROJECT: ANALYZING SALES INFORMATION

Tutorial 8: Working with Advanced Functions. Microsoft Excel 2013 Enhanced

Ahmad Al-Rjoub Excel Tutorial 7. Using Advanced Functions, Conditional Formatting, and Filtering

1. Two types of sheets used in a workbook- chart sheets and worksheets

MICROSOFT EXCEL 2002 (XP): LEVEL 3

EDIT202 Spreadsheet Lab Prep Sheet

WORKING WITH LOOKUP TABLES

Lesson 3: Logic and Reference Functions

FSFOA EXCEL INSTRUCTIONS. Tips and Shortcuts

ADDITIONAL EXCEL FUNCTIONS

MICROSOFT EXCEL 2000 LEVEL 3

Returns the value of a specified cell or array of cells within an array.

Table of contents. Excel in English. Important information LAYOUT. Format Painter. Format Painter. Fix columns. Fix columns.

AGB 260: Agribusiness Data Literacy. Advanced Functions and Logic

Using Microsoft Excel

Excel Formulas 2018 Cindy Kredo Page 1 of 23

Excel Intermediate

Excel Expert Microsoft Excel 2010

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

Using Advanced Formulas and 9 Securing Workbooks

Excel Formulas Cheat Sheet

MODULE VI: MORE FUNCTIONS

Excel Basics Fall 2016

MICROSOFT EXCEL 2003 LEVEL 3

Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example

Pivot Tables, Lookup Tables and Scenarios

IT ACADEMY LESSON PLAN

Data Analysis Utilizing Excel - Part 2 By Palani Murugappan

ADVANCED MS EXCEL 2007 USEFUL FUNCTIONS & FORMULAS FOR DAILY USE

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

Saving a Workbook That Contains Macros

Functions are predefined formulas that perform calculations by using specific values, called arguments, in a particular order, or structure.

Excel Level 3 - Advanced

Using Excel for a Gradebook: Advanced Gradebook Formulas

Excel 2016 Functions

Excel Intermediate

Data. Selecting Data. Sorting Data

Using Advanced Formulas

EVALUATION ONLY. In this lesson, you will use advanced. Functions EXCEL 2013 CASE STUDY: ANALYZING A FUNDRAISING CAMPAIGN LEARNING OBJECTIVES

Commonly Used Excel Formulas

Jump Right In! Essential Computer Skills Using Microsoft 2013 By Andrews, Dark, and West

MICROSOFT EXCEL VERSIONS 2007 & 2010 LEVEL 3. WWP Learning and Development Ltd Page 1

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited

Key concepts through Excel Basic videos 01 to 25

Excel 2016: Formulas & Functions

EXCEL INTERMEDIATE 2016

Lesson 06. Excel Functions

Introduction to Excel

Excel Functions INTRODUCTION COUNT AND COUNTIF FUNCTIONS

lab MS Excel 2010 active cell

Data Service Center December

Reporting Excel Tutorial

Microsoft Excel XP. Intermediate

Instructor Edition EVALUATION ONLY

Today Function. Note: If you want to retrieve the date and time that the computer is set to, use the =NOW() function.

Section 6. Functions

The Excel file that goes with the exercise in this guide is located to the right of the guide in the same row you downloaded the guide from.

Skittles Excel Project

Science, Technology, Engineering and Math Revised Summer 2017 Division Implemented Fall COURSE OUTLINE Advanced Computer Applications

CIS 100 Databases in Excel Creating, Sorting, Querying a Table and Nesting Functions

GO! with Microsoft Excel 2016 Comprehensive

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Microsoft Excel 2010 Training. Excel 2010 Basics

Module 5 - SUMPRODUCT Theory - 1

CHAPTER 4: MICROSOFT OFFICE: EXCEL 2010

3/31/2016. Spreadsheets. Spreadsheets. Spreadsheets and Data Management. Unit 3. Can be used to automatically

Lecture-14 Lookup Functions

IF & VLOOKUP Function

Excel 2. Module 2 Formulas & Functions

VLOOKUP() takes three mandatory parameters and one default/optional parameter:

Basics of Spreadsheet

Getting the Most from your Microsoft Excel

Microsoft Office Excel 2010: Advanced. Course Overview. Course Length: 1 Day. Course Overview

1. Select a cell in the column you want to sort by. In this example, we will sort by Last Name.

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

Rio Hondo Prep Computer Applications Class

Using Microsoft Excel

COMM 205 MANAGEMENT INFO SYSTEMS 2016 FALL MIDTERM EXAM REVIEW SESSION BY LEAH ZHANG

Unit 3 Fill Series, Functions, Sorting

Arrays: A Powerful Excel Tool

Excel 2016 Functions

Unit 3 Functions Review, Fill Series, Sorting, Merge & Center

Microsoft Excel 2007

Excel Advanced

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

EXCEL ADVANCED Linda Muchow

Excel 2010 Functions. 4/18/2011 Archdiocese of Chicago Mike Riley

CMPF124 Microsoft Excel Tutorial

Excel Comics. Why read boring ebooks! Volume 1. Page 1 of 21

Excel for Data Visualization

HOW TO CREATE A LEGEND FOR DOOR AND WINDOW TYPES IN VECTORWORKS ARCHITECT

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited EXCEL ADVANCED

6. Essential Spreadsheet Operations

Candy is Dandy Project (Project #12)

Excel Boot Camp PIONEER TRAINING, INC.

EXCEL 2003 DISCLAIMER:

Excel 101. DJ Wetzel Director of Financial Aid Greenville Technical College

B&E 105: TECHNOLOGY FOR BUSINESS SOLUTIONS EXAM 5 CHECKLIST & OUTLINE

Transcription:

Lab Manual Excel Module

Lab 3: Conditionals and Lookup Tables Conditional functions One very useful set of built-in functions in Excel is conditional functions. As the name implies, these perform certain operations based on conditions you apply. This is best illustrated through an example. Open excellab3.xslx to the sheet named conditions. Now, let us use excel to give us a count of the number of employees in each department. For this, we use the function COUNTIF. The form of this function is COUNTIF(Range,Criteria). The range is the data values you would like the count to be performed on, and the criteria is the condition that needs to be satisfied for a cell to be included in the count. Let us start by counting the number of employees in the IT department. Start as you would start any other formula, with the = sign. Type countif(, Then select the range of cells we would like to count. Now we need to enter the criteria.

Note that IT was placed between quotation marks, as should any criteria you enter. When you press Enter, the result of the formula is shown.

Exercise 1 a) Calculate the number of employees in the Accounting department. b) Calculate the number of employees with a salary greater than 15000 (remember the quotation marks around the entire criteria region). Now let us try using a cell address as a criterion. We would like to find the number of employees who have a salary greater than Reagan s salary. The only difference here is that to include a cell address in

the criterion, there is a special syntax as shown below. In other words, the operation symbol remains between quotations, and then the cell address is appended to it preceded by an ampersand (&). Exercise 2 a) Calculate the number of employees who are NOT in the IT department. (hint: the not equal sign is <>) b) Calculate the number of employees with a salary greater than or equal to Alexis, and less than Trey s. Remember to use cell addresses.(hint: use two countif operations.) SUMIF works in almost the same way as COUNTIF, except it returns the sum instead of the count. For instance, let us calculate the sum of all salaries greater than 15000.

That seems pretty straightforward. SUMIF also lets you define separate ranges for the criterion and the summation. For example, we might want to calculate the sum of all salaries of the IT department.

As you can see above, we first provide the formula with the range of values on which the criteria will be applied. We then enter the criteria, followed by the range which is to be summed up if the criteria apply to the 1 st range. Exercise 3 a) Calculate the sum of all salaries that are below the average of salaries. b) Calculate the sum of salaries of the HR and Accounting departments. c) Using AVERAGEIF, calculate the average of all salaries that areless than or equal to Stacey. If Statements If statements in Excel allow you to ask the question is this true or false?. It then allows you to implement different actions based on the outcome. The format of an if statement is as follows: =if(logical test, value if true, value if false). In excellab3.xslx, open the If statements sheet. The grades shown are for a pass/fail course, with the passing grade starting at 60. Let us use if statements to display which students have passed, and which have failed. First we start with the if statement with the logical condition we need to evaluate. In this case, a student is considered to have passed the course if his/her grade is greater than or equal to 60.

After we put in the condition, we need to enter what we want Excel to display if this condition was true. In this case, we want Excel to display Passed.

Finally, we enter the value if the condition evaluated to false.

Now we drag the cell with the formula into the rest of the column.

Exercise 4 The teacher for this course would like to reward the students who got a grade above 85. Use if statements to display Reward or No Reward beside each student. Now what happens if this course was not a pass/fail course, rather one with a regular letter grading scheme? That is, we need to use nested if statements. Nested if statements allow you to embed if statements in other if statements, thus allowing for more complex scenarios. Assume this is our grading scheme: >90 A >75 B >60 C O.w. F Nested if statements are done by replacing the value if false in the function with a new if statement.

Notice that the 1 st part of the if function is almost the same as what he had done before. Now instead of adding a value if false, we are asking Excel to perform another if function if the result of the logical condition was evaluated as false. Let us complete the entire function.

Notice that with each new if statement, we opened up new parenthesis and that at the end we had to close all of them. Drag the if statement into the rest of the column.

Below is a flowchart depicting the processing that goes on in the if statement we wrote. True Is grade >90? Print A False Print B True Is grade >75? False True Is grade >60? False Print C Print F

Exercise 5 Open the if exercise sheet. The sheet shows the names of salespeople along with the revenues they have brought the company. Using if statements, their boss would like to calculate their bonuses based on the following formula: >=$15000 10% bonus >=$10000 8% bonus >=$7000 5% bonus o.w. No bonus Lookup function You may have noticed from that some of these if statements can get quite long. An easier way to match up the grades to their corresponding letter grade is to use the LOOKUP function. Open the lookup tab, and let us see how this function works. The first thing you need to do is to create a lookup table that displays which numerical grades correspond to which letter grades. This is the grade distribution: A- >=90 B- >=80 C- >=65 D- >=50 F- o.w.

Notice that the lookup table is in ascending order. It must be in ascending order for LOOKUP to work. The way that this table is interpreted is that we are providing Excel with the minimum grade for each letter grade. For instance, the F grade is between 0 and 50, not including 50. The A grade is anything greater than or equal to 90. If we had not set the minimum grade for F as 0, any value below 60 would return an error. Now let us put this table into action.

The first parameter we give the lookup function is the value to be looked up, which in this case, is the numerical grade. The second input is the lookup table we created. Now drag the function to the rest of the column.

As you can see, we received plenty of error values. Double-clicking one of those values will show you the problem. When we dragged the formula, the address of the lookup table was incremented. We need to fix the lookup table address in the formula. The way this is done is by surrounding the address with $ signs.

A shortcut to do this is by clicking on F4 right after selecting the lookup table. Now try dragging the formula again.

Now it all looks good, and as you can see above, the address of the lookup table was fixed. Remember: - The lookup table must be in ascending order - If lookup cannot find the exact match to the value you provided, it will return the largest value that is less than or equal to it. - If the value you are looking for is smaller than the smallest value in the table, an error value will be returned. Exercise 6 The following table provides you with the color frequencies in the visible spectrum (http://en.wikipedia.org/wiki/visible_spectrum)

Color Frequency (THz) Violet 669-789 Blue 631-668 Cyan 607-630 Green 527-606 Yellow 508-526 Orange 485-508 Red 400-484 In the tab lookup exercise, fill in the colors corresponding to the given frequencies using the lookup function.