



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Week 9 –Lecture and Activities (as adopted from Joines et al.)
10/21/
Using Excel Functions and Equations
Readings: Functions and Equations - Engineering with Excel Chapter 4.
Naming cells – Chapter 1 p. 26-
In this lab, you will learn to:
Download: Copy the files from the BAE 200 Week 9 Schedule ( InClass09.xlsx ) onto your laptop for class activities.
Excel Functions
You may have already incorporated Excel functions like AVERAGE()and SUM()in our earlier work. Actually, there are over 340 Excel functions, and more specialized ones can be purchased through third party suppliers. It is unnecessary to learn them all, so we need to learn how to find the ones that we want to use.
The Formula tab in Excel contains many of these functions in the Function Library Section. The categories for the “built-in” Excel functions are the following:
Financial Date & Time Math & Trig Statistical
Lookup & Reference Database Text Logical
Information Engineering Cube
The Function Library on the Formula Tab contains buttons to access most of these categories. (Note that the More Functions button includes the statistical, engineering, information, and cube functions.) The Recently Used button provides easy reuse of functions that you have been employing in your worksheets.
The Insert Function Wizard , , gives easy access to all of the Excel functions. It contains a “Search for a Function” box that allows you to find relevant functions by entering search terms. It also shows a drop-down list of the function categories listed above, which includes the following additional categories:
All User Defined
The “All” option is a comprehensive list of all available functions, and is useful for searching if you know the name of the function (or an approximate name). “User Defined” is used when writing VBA functions.
Open Excel. Click on the Formula→Insert Function button. Note the “Search for a function;” and the “help on this function”
Question 1: Using the “Search” and “Help” features, determine the category for each of the following built-in Excel functions: NPV: _______________ PI: _______________ FACT: _______________ MAX: _______________ IF: _______________ SLOPE: _______________
It is important to know what a function does. You can get that information from the Insert Function dialog and its “help on this function”.
Question 3: Evaluate, without using Excel, the following Excel formulas:
Excel Formula Resulting Value
=10 + A10 – A
=1+3*4/
=2*3^
Excel also has a concatenation operator (“&”) that allows multiple pieces of text to be combined. It has precedence level “4” in Table 2.
Question 4: Evaluate the following:
Excel Formula Resulting Value
= “Hi” & “ There” Hi There
= “Answer = ” & A
= “Cost is ” & “$” & A10*A
Some operators cause the “value” to be either “ TRUE ” or “ FALSE ”. These include the relational operators : Equal to (“=”), Less than (“<”), Greater than (“>”), Less than or Equal to (“<=”), Greater than or Equal to (“>=”), and Not Equal to (“<>”). Their precedence is always 5 in Table 2 (lowest precedence in any formula). Again, “ties” are evaluated left-to-right.
Question 5: Evaluate the following:
Excel Formula Resulting Value
= C6 < 15
= D2 = “West”
= 15 <= 10*
To combine relational operations, we use the logical functions (refer to Formulas→Function Library→Logical ). Common logical functions are OR(), AND(), and NOT(). Their evaluation also yields either a value of “ TRUE ” or a value of “ FALSE ”.
Logical Function Operation
AND (x1,x2,…) (^) Returns TRUE if ALL arguments are true, FALSE if ANY argument is false
OR(x1,x2,…) (^) Returns TRUE if ANY argument is true, FALSE if ALL arguments are false
NOT(Test) (^) Reverses logic returned by a test operation. If the test returns TRUE, then the NOT(test) returns FALSE
Now, the Excel expression (in any other cell) and its value are:
Excel Formula Resulting Value
=OR( A10 <= 5, 10 > B3) TRUE
=AND(A10 <= 5, 10 > B3) (^) FALSE
=AND(OR(A10<=5, 10>B3),10 >B3) (^) TRUE
=NOT(A2 + 10 = 20) (^) FALSE
Question 6: What is the final value (True/False) for the following statements (without using Excel):
=OR(D2 = “North”, NOT(A2 <> 10))
=OR(OR(D2 = “North”, D2 = “West”), B3 > 5)
=OR(AND(C6 >= A10, D2 < B6), NOT(C6 > 15))
A very important logical function is IF(), which returns one of two specified values (again, refer to Formulas→Function Library→Logical ):