Excel Formulas Cheat Sheet
Master Excel with our comprehensive formulas reference guide. From basic math to advanced lookup functions, find syntax, examples, and expert tips for all essential Excel formulas.
Excel Mastery Guide
Beginner
Start with basic calculations and data organization
Intermediate
Master lookup functions and data analysis
Excel Pro Tips
F4 Key: Toggle between absolute and relative references ($A$1, A$1, $A1, A1)
Ctrl + Shift + Enter: Enter array formulas (older Excel versions)
F9 Key: Calculate formulas manually when set to manual calculation mode
Ctrl + `: Toggle between formula view and result view
AVERAGEIF()
Math & StatisticalAverages cells that meet a criteria
Syntax:
=AVERAGEIF(range, criteria, [average_range])
Examples:
=AVERAGEIF(A1:A10, ">100")
Average of values greater than 100
=AVERAGEIF(A1:A10, "Apple", B1:B10)
Average B values where A contains 'Apple'
=AVERAGEIF(A1:A10, A12, B1:B10)
Average B values where A equals value in A12
Note: If average_range is omitted, range is used for both criteria and average
AVERAGEIFS()
Math & StatisticalAverages cells that meet multiple criteria
Syntax:
=AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
Examples:
=AVERAGEIFS(C1:C10, A1:A10, "Apple", B1:B10, ">100")
Average C where A='Apple' AND B>100
=AVERAGEIFS(D1:D10, A1:A10, ">=" & DATE(2024,1,1), A1:A10, "<" & DATE(2025,1,1))
Average D for dates in 2024
=AVERAGEIFS(C1:C10, A1:A10, "North", B1:B10, "Q1")
Average for North region in Q1
Note: All criteria must be met for a cell to be included in average
AVERAGE()
Math & StatisticalCalculates the average of numbers
Syntax:
=AVERAGE(number1, [number2], ...)
Examples:
=AVERAGE(A1:A10)
Average of range A1 to A10
=AVERAGE(A1, B1, C1)
Average of specific cells
=AVERAGE(A:A)
Average of entire column A
Note: Excludes empty cells and text from calculation
RANK.AVG()
Statistical FunctionsReturns average rank for tied values
Syntax:
=RANK.AVG(number, ref, [order])
Examples:
=RANK.AVG(A1, A$1:A$10)
Average rank for tied values
=RANK.AVG(A1, A$1:A$10, 1)
Ascending order with average ranking
=RANK.AVG(90, {95,90,90,85})
Returns 2.5 for both 90s
Note: Tied values get average of ranks they would occupy
MEDIAN()
Statistical FunctionsReturns the middle value in a dataset
Syntax:
=MEDIAN(number1, [number2], ...)
Examples:
=MEDIAN(A1:A10)
Middle value of range A1:A10
=MEDIAN(1, 2, 3, 4, 5)
Returns 3 (middle value)
=MEDIAN(A:A)
Median of entire column A
Note: For even number of values, returns average of two middle values
SUBTOTAL()
Math & StatisticalReturns a subtotal in a list or database using specified function
Syntax:
=SUBTOTAL(function_num, ref1, [ref2], ...)
Examples:
=SUBTOTAL(9, A1:A10)
Sum of visible cells (function 9)
=SUBTOTAL(1, A1:A10)
Average of visible cells (function 1)
=SUBTOTAL(109, A1:A10)
Sum ignoring hidden rows and filtered data
Note: Functions 1-11 include hidden cells, 101-111 ignore hidden cells
Master Excel formulas with practice and repetition. Bookmark this page for quick reference!