Cheat sheet
Every formula on one page, with what each argument is actually for. Generated from the lessons, so it cannot drift out of date.
Add up a column of numbers
- number1what to add up
AVERAGE
Open the lessonFind the middle of a set of numbers
- number1what to average
COUNT and COUNTA
Open the lessonCount numbers, or count anything at all
- value1where to count numbers
- value1where to count anything
Do one thing when true, another when false
- logical_testwhat to check
- value_if_trueif it is true
- [value_if_false]if it is false
COUNTIF
Open the lessonCount only the rows that meet a condition
- rangewhere to look
- criteriawhat counts
SUMIF
Open the lessonAdd up only the rows that meet a condition
- rangewhere to check
- criteriawhat counts
- [sum_range]what to add up
COUNTIFS
Open the lessonCount rows that meet several conditions at once
- criteria_range1first column to check
- criteria1first condition
- [criteria_range2]next column
- [criteria2]next condition
SUMIFS
Open the lessonAdd up rows that meet several conditions at once
- sum_rangewhat to add up
- criteria_range1first column to check
- criteria1first condition
- [criteria_range2]next column
- [criteria2]next condition
VLOOKUP
Open the lessonThe older lookup you will still meet in real files
- lookup_valuewho to find
- table_arraythe whole table
- col_index_numwhich column, counting from the left
- [range_lookup]FALSE for an exact match
XLOOKUP
Open the lessonFind a row by one value, bring back another
- lookup_valuewho to find
- lookup_arraywhere to look
- return_arraywhat to bring back
- [if_not_found]what to show instead
MIN and MAX
Open the lessonFind the smallest and largest numbers in a range
- number1where to find the smallest number
- number1where to find the largest number
ROUND
Open the lessonControl how many decimal places a result keeps
- numberwhat to round
- num_digitsdecimal places to keep
AND and OR
Open the lessonTest whether every condition or any condition is true
- logical1first condition
- [logical2]next condition
- logical1first condition
- [logical2]next condition
IFERROR
Open the lessonReplace formula errors with a useful result
- valueformula to try
- value_if_errorwhat to show if it fails
LEFT, RIGHT and MID
Open the lessonExtract a useful part from a text code
- texttext to cut
- [num_chars]characters from the left
- texttext to cut
- [num_chars]characters from the right
- texttext to cut
- start_numwhere to start
- num_charscharacters to take
TRIM and LEN
Open the lessonClean stray spaces and measure text length
- texttext to clean
- texttext to measure
CONCAT
Open the lessonJoin text and cell values into one result
- text1first text
- [text2]next text
INDEX and MATCH
Open the lessonFind a position, then return the value at that position
- arraywhere the answer lives
- row_numwhich row in that range
- [column_num]which column in that range
- lookup_valuewhat to find
- lookup_arraywhere to look
- [match_type]0 for an exact match