IT Tools Week 12 - Using Advanced Functions and Conditional Formatting
IT Tools Week 12 - Using Advanced Functions and Conditional Formatting
2
Using the IF Function
4
Using the Or Function
• A logical function that returns aTRUE value if any of the
logical conditions are true and a FALSE value if all the
logical conditions are false
• Syntax:
5
Using Structured References to Create
Formulas in Excel Tables
• Replace specific cell or range address with the actual table name or column
header
• Names or headers are simpler to identify than cell addresses
• A formula that includes a structured reference can be fully qualified or
unqualified
6
Creating Nested IFs
• To allow for three or more
outcomes
• One IF function is placed inside
another IF function to test an
additional condition
• More than one IF function can be
nested
7
Using Lookup Tables and Functions
• Lookup functions
• Allow you to use tables of data to “look up” values and insert
them in another worksheet location
• Lookup tables
• Store data and organize it into categories (compare values)
• Can be constructed as either exact match or approximate match lookups
23
Using Lookup Tables and Functions
• Lookup values (value you are trying to find)
• Need to match one of the compare values
• Can be used as part of a formula
23
Using the VLookup Function to Find an Exact Match
• Searches a lookup table and, based on what you entered, retrieves the
appropriate value from that table
• Searches vertically down the first column of the lookup table
• Syntax:
25
Using the VLookup Function to Find an Appropriate Match
25
Looking Up Values Using the HLOOKUP Function
• Searches horizontally across top row of lookup table and retrieves the value in the
column you specify
• Use when comparison values are located in the first row of the lookup table and you
want to look down a specified number of rows to find the data to enter in another
cell
• Syntax:
• Major difference between HLOOKUP andVLOOKUP functions is the way lookup
tables are organized
29
Using the IFERROR Function
• Error value
• Indicates that an element in a formula or a cell referenced in a formula is
preventing Excel from returning a calculated value
• Begins with a number sign (#) followed by an error name that indicates the
type of error
31
Excel Error Values
• Excel error
values are not
particularly
descriptive or
helpful
33
Conditional Formatting
• Changes a cell’s formatting when its contents match a specified
condition
• Can be used to:
• Highlight cells based on their values
• Add data bars that graph relative values in a range
• Highlight duplicate values in a column of data
37
Using the Conditional Formatting Rules Manager
• A conditional formatting rule specifies:
• Type of condition
• Type of formatting when that condition occurs
• Cell or range the formatting is applied to
• Use Conditional Formatting Rules Manager dialog box to edit existing conditional
formatting rules
38
Summarizing Data Conditionally
• Use COUNTIF, SUMIF, andAVERAGEIF functions to calculate a conditional
count, sum, or average using only cells that meet a particular condition
42
Using the COUNTIF Function
• Calculates the number of cells in a range that match specified
criteria
• Sometimes referred to as a conditional count
• Syntax:
43
Using the SUMIF Function
• Adds values in a range that meet your criteria
• Also called a conditional sum
• Syntax:
45
Using the AVERAGEIF Function
• Similar to SUMIF function
• Calculates the average of values in a range that meet criteria you specify
• Syntax:
46