Work & productivity / QUICK REFERENCE

Everyday spreadsheet formulas

A fuller formula reference for arithmetic, conditions, text, dates and careful counting.

32 entries

Summarize numbers

Sum a range
=SUM(A1:A10)

Adds numeric values in the range. [1]

Arithmetic mean
=AVERAGE(A1:A10)

Empty cells and cells containing zero are not equivalent. [1]

Smallest value
=MIN(A1:A10)

Returns the minimum numeric value. [1]

Largest value
=MAX(A1:A10)

Returns the maximum numeric value. [1]

Middle value
=MEDIAN(A1:A10)

Uses the median rather than the mean. [1]

Round numerically
=ROUND(A1,2)

Changes the value, not merely its display format. [1]

Absolute value
=ABS(A1)

Removes a numeric sign. [1]

Remainder
=MOD(A1,7)

Returns the remainder following the application's numeric rules. [1]

Count and apply conditions

Count numeric cells
=COUNT(A1:A10)

Dates stored numerically also count. [1]

Count nonempty values
=COUNTA(A1:A10)

Formula-produced empty strings can count as values. [1]

Count blank cells
=COUNTBLANK(A1:A10)

Includes some empty-string results; consult application behavior. [1]

Count a match
=COUNTIF(A1:A10,"Done")

Counts cells matching the criterion. [1]

Count above threshold
=COUNTIF(B1:B10,">=10")

The comparison operator is inside the criterion string. [1]

Conditional sum
=SUMIF(A1:A10,"Done",B1:B10)

Adds corresponding values where the criterion matches. [1]

Multiple conditions
=COUNTIFS(A1:A10,"Done",B1:B10,">=10")

Criteria ranges must have compatible dimensions. [1]

Conditional choice
=IF(A1>=10,"Ready","Not yet")

Evaluates one condition and chooses a result. [1]

Clean and combine text

Join with an operator
=A1&" "&B1

Concatenates values with a space. [1]

First characters
=LEFT(A1,3)

Returns up to three leading characters. [1]

Last characters
=RIGHT(A1,4)

Returns up to four trailing characters. [1]

Middle characters
=MID(A1,2,3)

Position numbering starts at one. [1]

Text length
=LEN(A1)

Spaces and invisible characters can affect the result. [1]

Trim ordinary spaces
=TRIM(A1)

Does not remove every kind of Unicode whitespace. [1]

Uppercase text
=UPPER(A1)

Case conversion depends on the text/application. [1]

Replace literal text
=SUBSTITUTE(A1,"old","new")

Replaces matching text, not a regular expression. [1]

Dates, errors and references

Today's date
=TODAY()

Recalculates; it is not a permanent timestamp. [1]

Current date and time
=NOW()

Reflects the application's timezone/recalculation behavior. [1]

Build a date
=DATE(2026,10,19)

Creates a date from numeric parts. [1]

Year of a date
=YEAR(A1)

A1 must contain a recognized date value. [1]

Trap an error
=IFERROR(A1/B1,"Check inputs")

Can hide real data problems; use deliberately. [1]

Logical conjunction
=AND(A1>0,B1>0)

True only when both comparisons are true. [1]

Round down magnitude
=TRUNC(A1,0)

Truncates toward zero; differs from INT for negative values. [1]

Absolute reference
=$A$1*B1

Locks A1 when the formula is copied. [1]

Reserved placement, separate from reference controls. No ad network is active.

Updated Excel / Google Sheets · common functions

Sources

  1. Google Sheets function list ↗
  2. SUM function ↗
  3. AVERAGE function ↗