Excel formulas cheat sheet

62 Excel topics, each with a worked example formula and what it does. Every row links to short practice tasks graded in a live spreadsheet. Print it or keep it open while you work.

Fundamentals

TopicExampleWhat it does
Basic Arithmetic Formulas=A1+A2Add Two Prices
Cell References Basics=A1Reference a Single Cell
Relative References=A2*B2Understand a Relative Formula
Absolute References=A2*$B$1Lock a Tax Rate
Mixed References=$A2*B1Lock Only the Column
Order of Operations=(A1+A2)*B1Force Addition Before Multiplication
Numbers + Text in Formulas=A1&": "&B1Combine a Label With a Value

Math & Rounding

TopicExampleWhat it does
SUM=SUM(A1:A5)Sum Weekly Sales
ROUND=ROUND(A1,2)Round a Price to Cents
ROUNDUP / ROUNDDOWN=ROUNDUP(A1/B1,0)Round Up to Full Boxes
ABS=ABS(A1)Find the Size of a Budget Variance
INT and MOD=INT(A1/60)Find Whole Hours From Minutes
POWER and SQRT=A1*POWER(B1,C1)Calculate Compound Growth
CEILING and FLOOR=CEILING(A2,5)Round Up to the Next 5

Counting & Averaging

TopicExampleWhat it does
COUNT and COUNTA=COUNT(A1:A6)Count Numeric Scores Only
COUNTIF=COUNTIF(A1:A6,">=90")Count High Scores
COUNTIFS=COUNTIFS(A1:A4,"West",B1:B4,">100")Count Orders From a Region Above a Value
AVERAGE=AVERAGE(A1:A5)Average Weekly Sales
AVERAGEIF=AVERAGEIF(A1:A5,"West",B1:B5)Average Sales for One Region
MAX, MIN, LARGE, SMALL=MAX(A1:A5)Find the Highest Sale
COUNTIF Wildcards & Operators=COUNTIF(A2:A7,"*blue*")Count Names That Contain a Word

Conditional Logic

TopicExampleWhat it does
Basic IF=IF(A2>=60,"Pass","Fail")Pass or Fail a Test Score
Nested IF=IF(A2>=90,"A",IF(A2>=80,"B",IF(A2>=70,"C","F")))Assign a Letter Grade
IFS=IFS(A2>=90,"A",A2>=80,"B",A2>=70,"C",TRUE,"F")Assign a Grade With IFS
AND / OR / NOT=AND(A2>=18,B2>=2)Check Two Conditions With AND
IFERROR=IFERROR(VLOOKUP(A2,B1:C2,2,FALSE),"Not Found")Handle a Failed Lookup Gracefully
IF with AND / OR=IF(AND(A2>=50,B2>=50),"Pass","Fail")Pass Only If Both Scores Are 50+
IF Cell Is Blank=IF(A2="","Missing","OK")Flag a Missing Email
SWITCH and IS Functions=SWITCH(A2,"N","North","S","South","E","East","W","West")Region Code to Name

Conditional Aggregation

TopicExampleWhat it does
SUMIF=SUMIF(A1:A5,"West",B1:B5)Sum Sales for One Region
SUMIFS=SUMIFS(C1:C4,A1:A4,"West",B1:B4,">100")Sum Sales From a Region Above a Value
SUMPRODUCT=SUMPRODUCT(A1:A3,B1:B3)Calculate Total Order Value
AVERAGEIFS, MAXIFS, MINIFS=MAXIFS(C2:C7,A2:A7,"North")Highest Sale in One Region

Lookups

TopicExampleWhat it does
VLOOKUP=VLOOKUP(D2,A2:B4,2,FALSE)Look Up a Product Price
XLOOKUP=XLOOKUP(D2,A2:A4,B2:B4)Look Up a Price With XLOOKUP
INDEX and MATCH=MATCH(D1,A1:A5,0)Find a Position With MATCH
HLOOKUP=HLOOKUP("Q2",A1:C2,2,FALSE)Look Up a Quarterly Value
Nested Lookups=VLOOKUP(VLOOKUP(F2,A2:B4,2,FALSE),D2:E3,2,FALSE)Chain Two Lookups Together
Lookups With Multiple Criteria=A2&"-"&B2Build a Helper Key

Text Functions

TopicExampleWhat it does
LEFT, RIGHT, MID=LEFT(A1,3)Extract an Area Code
LEN=LEN(A1)Check a Username's Length
UPPER, LOWER, PROPER=UPPER(A1)Convert a Name to Uppercase
TRIM and CLEAN=TRIM(A1)Clean Up a Messy Name Entry
CONCATENATE / TEXTJOIN=CONCATENATE(A1," ",B1)Join a First and Last Name
FIND and SUBSTITUTE=FIND("@",A1)Find the Position of an @ Symbol
TEXT (number formatting)=TEXT(A1,"0.0%")Format a Decimal as a Percentage
Split First and Last Names=LEFT(A2,FIND(" ",A2)-1)Get the First Name

Dates & Times

TopicExampleWhat it does
DATE, YEAR, MONTH and DAY=DATE(A2,B2,C2)Build a Date From Parts
Date Arithmetic and DAYS=B2-A2Days Between Two Dates
EDATE and EOMONTH=EDATE(A2,12)Contract End After 12 Months
WEEKDAY, WORKDAY and NETWORKDAYS=WEEKDAY(A2)Day of the Week as a Number
DATEDIF and TODAY=DATEDIF(A2,B2,"Y")Age in Full Years

Ranking & Statistics

TopicExampleWhat it does
RANK=RANK(A2,A1:A4)Rank a Sales Total (Highest First)
Percentages and Percent Change=(B1-A1)/A1Calculate Percent Change
Weighted Averages=SUMPRODUCT(A1:A3,B1:B3)Calculate a Weighted Course Grade
MEDIAN and MODE=MEDIAN(A2:A6)The Middle Salary

Combining Techniques

TopicExampleWhat it does
Formulas Inside Formulas=LEN(TRIM(A1))Clean and Measure Text in One Formula
IF + Lookup Combos=IF(VLOOKUP(D2,A2:B4,2,FALSE)>10,"Expensive","Affordable")Flag Whether a Looked-Up Price Is Expensive
Error-Safe Lookups=IFERROR(VLOOKUP(D2,A2:B3,2,FALSE),"Product not found")Guard a Product Lookup With a Friendly Message

Real Work Cases

TopicExampleWhat it does
Case: Month-End Commission Run=SUM(C2:C9)Total Sales for the Month
Case: Reconcile Bank vs Ledger=XLOOKUP(A2,G2:G6,H2:H6,0)Find the Payment for an Invoice
Case: Clean a Messy Customer Export=PROPER(TRIM(A2))Clean Up the Names

Practising for a job interview? See how to prepare for an Excel test.