Professional Documents
Culture Documents
10 1022q Cell Formula Basics f2017 BW
10 1022q Cell Formula Basics f2017 BW
• SUM is a
function • A range of • The total number
cells which of meals
contains the
costs of 5 • / is an operator
meals
Arithmetic Operators 1/2
• In Excel, you can do basic calculations
with arithmetic operators, like those
you learned in school:
+ Addition
- Subtraction
* Multiplication
/ Division
^ Power
The formula is
shown as text by
adding ' in
front of the
formula:
'= A + B
Some Commonly Used Number Functions
• There are many functions that can be used in cell formulas
• Here we look at 7 common functions for handling numbers:
SUM for finding the total of a group of numbers
AVERAGE for finding the average of a group of numbers
STDEV for finding the standard deviation of a group of numbers
MAX for finding the maximum in a group of numbers
MIN for finding the minimum in a group of numbers
RANK for ranking a number in a group of numbers
COUNTIF for counting the number of occurrences of a value
• On the next slide, we show an example which uses these
"<40" means
any value
smaller than 40
Using Logic
• There are other functions which do comparisons,
called logic functions
• In real life, we usually need to make a decision
based on several criteria (which are usually called
conditions in Computing)
• For example, you decide what you will eat for
lunch based on the price and the quality of the food
and how far away the restaurant is
• We can use logic functions to combine the results
of conditions together to make a final decision
Ctrl `
String Concatenation
• In computer language, ‘string’ means ‘a piece of text’
• Concatenate means putting one string at the end of
another string
• In Excel cell formulas, you can concatenate two
strings by using the & operator or the CONCATENATE
function
• For example, this formula:
="Happy" & "Birthday"
and this formula:
=CONCATENATE("Happy", "Birthday")
both produce the same result: HappyBirthday
String Concatenation
• Here is an example of both: