ENGR 111 Lecture 15 - Excel 6
ENGR 111 Lecture 15 - Excel 6
Built-In Functions
Referencing
=IF()
1
Functions in Excel
x y = f(x)
Process
2
Functions in Excel (cont’d)
3
Functions in Excel (cont’d)
– Financial
– Date and time
– Math and trig
– Statistical
– Lookup and reference
– Database
– Text
– Etc.
4
Functions in Excel (cont’d)
– For example, if we want to place a formula in cell A2 to take the natural logarithm
of the contents of cell A1:
5
Functions in Excel (cont’d)
6
Functions in Excel (cont’d)
7
Functions in Excel (cont’d)
8
Functions in Excel (cont’d)
9
Functions in Excel (cont’d)
10
Functions in Excel (cont’d)
11
Functions in Excel (cont’d)
12
Reference Functions
13
Reference Functions (cont’d)
=VLOOKUP( lookup_value , table_array , col_index_num )
– lookup_value:
• Value you’re searching for in Column 1 (leftmost column in a given table)
• Excel finds the row containing the largest entry in Column 1 that’s ≤ lookup_value
– table_array:
• Range of cells in your table (can reference range or a Name)
• Data in the table must be sorted such that Column 1 is ascending!
– col_index_num:
• Column containing data to be returned.
14
Reference Functions (cont’d)
• We’ll also demonstrate the use of the Table Formatting tools in Excel
– This will allow us to quickly sort tables based on the data presented.
• Note that we’ll add to this later using the =IF() command
15
Logical Functions
– logical_test:
• Any value of expression that can be evaluated to TRUE or FALSE
16