OFFICE DESK REFERENCE · EXCEL & GOOGLE SHEETS
Essential Spreadsheets Formulas
LOCK CELL: F4 ($A$1)
LOOKUP & MATCH
=XLOOKUP(A2, D:D, E:E, "N/A")
Modern VLOOKUP replacement that looks left or right
=INDEX(E:E, MATCH(A2, D:D, 0))
Universal lookup compatible with every spreadsheet
=FILTER(A2:C99, C2:C99>100)
Pull all rows matching one or more conditions
=UNIQUE(A2:A99)
Return deduplicated list of values automatically
CONDITIONAL MATH
=SUMIFS(C:C, A:A, "Rent", B:B, ">0")
Sum column C when multiple criteria match
=COUNTIFS(A:A, "Done", B:B, "<=7")
Count rows satisfying multiple rules
=AVERAGEIF(B:B, ">0")
Average only non-zero or positive entries
=ROUND(A2, 2)
Round cleanly to 2 decimals for currency
TEXT CLEANUP
=TRIM(PROPER(A2))
Remove stray spaces & fix Title Case in one step
=TEXTJOIN(", ", TRUE, A2:A6)
Combine cells with separator, skipping blanks
=TEXTSPLIT(A2, ",")
Split comma-separated cell into columns (Sheets: SPLIT)
=LEFT(A2, 4) & "-" & RIGHT(A2, 2)
Extract prefix/suffix substrings and join
LOGIC, ERRORS & DATES
=IFERROR(A2/B2, 0)
Replace #DIV/0! or #N/A errors with clean fallback
=IFS(A2>=90,"A", A2>=80,"B", TRUE,"C")
Readable multi-branch logic without nested IFs
=NETWORKDAYS(A2, B2)
Count business workdays between two dates
=EOMONTH(TODAY(), 0)
Get the last calendar date of the current month