Lesson10 - Conditional Formatting

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Presented by

Computation and Problem


Solving
Nazarbayev University
Click to enter name
Lesson 9
Conditional Functions
and Formatting
We can calculate numeric values using +, -, *, /
with cell addresses and number constants
We can also preform comparisons or check
for equality using >, <, =, >=, <=
These give a true or false value
Conditional Expressions
We can check if two conditions are both true
(AND), or at least one is true (OR)
AND(cond1, cond2)
OR(cond1, cond2)

AND and OR Conditional Functions
IF(condition, valueIfT, valueIfF)
IF Conditional Function
Exercise: Add two columns to InternetUse.xlsx where the first
computes the difference between the max and min, and the second
prints Low or High depending on this difference value
IF Conditional Function: Challenge Problem
Exercise: Make changes to the second column so that it can print
Low , Medium or High.
Hint: Use a nested IF function.
COUNTIF(range, criteria)
COUNTIF Conditional Function
Examples include: >400, =Critical
Exercise: Now add three more rows that count up the number of
Low, Medium, and High values
10/1/2012
Conditional Formatting
Conditional Formatting
Exercise: Color code the Max-Min column using Greater Than rules
Conditional Formatting
Exercise: Use gradual color coding for the Max-Min column using
Color Scales
Experiment with other visual effects such as Data Bars and Icon Sets

You might also like