Google Sheets reference
Google Sheets functions
Start with a function name, see the exact syntax, and work through a small spreadsheet example. Every page is checked against Google Docs Editors Help and links to its official source.
Math
Add, count, compare, and summarize numbers.
AVERAGE
Practice itAVERAGE in Google Sheets returns the numerical mean of values and ranges while ignoring text.
View functionCOUNT
Practice itCOUNT in Google Sheets returns how many numeric values appear in the supplied values or ranges.
View functionCOUNTA
COUNTA in Google Sheets counts values in the supplied values or ranges, including numbers, text, zero-length strings, and whitespace.
View functionMAX
MAX in Google Sheets returns the largest numeric value from the cells, ranges, or numbers you provide.
View functionMIN
MIN in Google Sheets returns the smallest numeric value from the cells, ranges, or numbers you provide.
View functionROUND
ROUND in Google Sheets rounds a number to a chosen number of decimal places.
View functionSUM
Practice itSUM in Google Sheets adds numbers, cell values, and ranges into one total.
View functionLogic
Test conditions and calculate matching values.
AVERAGEIF
AVERAGEIF in Google Sheets calculates the mean of values associated with cells that meet one criterion.
View functionCOUNTIF
COUNTIF in Google Sheets counts cells in one range that match a single criterion.
View functionCOUNTIFS
COUNTIFS in Google Sheets counts rows or columns where corresponding cells meet multiple criteria.
View functionIF
IF in Google Sheets checks a logical expression and returns one value when the expression is TRUE and another when it is FALSE.
View functionIFERROR
IFERROR in Google Sheets returns a fallback value when a formula produces an error and otherwise returns the formula result.
View functionIFS
IFS in Google Sheets evaluates several conditions in order and returns the value paired with the first condition that is TRUE.
View functionSUMIF
SUMIF in Google Sheets adds values when cells in a range match one criterion.
View functionSUMIFS
SUMIFS in Google Sheets adds values when corresponding cells meet multiple criteria.
View functionLookup
Find, select, and query data from tables.
IMPORTRANGE
IMPORTRANGE in Google Sheets imports a cell range from another Google Sheets spreadsheet.
View functionINDEX
INDEX in Google Sheets returns the value at a specified row and column within a reference.
View functionMATCH
MATCH in Google Sheets returns the relative position of a search key within a one-dimensional range.
View functionQUERY
QUERY in Google Sheets runs a Google Visualization API Query Language statement across a cell range.
View functionVLOOKUP
VLOOKUP in Google Sheets searches down the first column of a range for a key, then returns a value from a numbered column in the matching row.
View functionXLOOKUP
XLOOKUP in Google Sheets finds a search key in one row or column and returns the value at the same position from another range.
View functionArrays
Return, filter, sort, and reshape groups of values.
ARRAYFORMULA
ARRAYFORMULA in Google Sheets displays values from an array formula across multiple rows or columns and lets some non-array functions work with arrays.
View functionFILTER
Practice itFILTER in Google Sheets returns only the rows or columns from a source range that meet supplied TRUE or FALSE conditions.
View functionSORT
Practice itSORT in Google Sheets orders the rows of a range or array by values in one or more columns.
View functionUNIQUE
UNIQUE in Google Sheets returns unique rows from a source range and keeps them in the order where they first appeared.
View functionText
Format or divide text values.
CONCATENATE
CONCATENATE in Google Sheets joins two or more strings into one text value.
View functionLEFT
LEFT in Google Sheets returns a specified number of characters from the beginning of a text string.
View functionLEN
LEN in Google Sheets returns the number of characters in a text string, including spaces and punctuation.
View functionMID
MID in Google Sheets returns a chosen number of characters from the middle of a text string, beginning at a specified position.
View functionPROPER
PROPER in Google Sheets capitalizes the first letter of each word and changes the remaining letters to lowercase.
View functionREGEXMATCH
REGEXMATCH in Google Sheets checks whether text contains a part that matches a RE2 regular expression and returns TRUE or FALSE.
View functionSPLIT
SPLIT in Google Sheets divides text around a delimiter and puts each fragment into a separate cell across the row.
View functionSUBSTITUTE
SUBSTITUTE in Google Sheets replaces matching text inside a string with new text.
View functionTEXT
TEXT in Google Sheets converts a number, date, or time into text using a format pattern in quotation marks.
View functionTEXTJOIN
TEXTJOIN in Google Sheets combines text from values or ranges and inserts a chosen delimiter between each item.
View functionTRIM
TRIM in Google Sheets removes leading and trailing spaces and reduces repeated spaces between words to one.
View functionDates
Work with the current date.
DATEDIF
DATEDIF in Google Sheets calculates the number of complete days, months, or years between two dates, with additional units for remaining month or day components.
View functionEOMONTH
EOMONTH in Google Sheets returns the final day of a month a specified number of months before or after a starting date.
View functionNETWORKDAYS
NETWORKDAYS in Google Sheets returns the number of working days between two dates, including both endpoints and excluding Saturdays and Sundays.
View functionTODAY
TODAY in Google Sheets returns the current date as a date value without a time component.
View function