Going Stellar

Home/Google Sheets reference

Google Sheets

Google Sheets function reference: syntax and tested examples

One page per function: syntax, arguments, examples with the result we got, common errors and the difference from Excel. Every example was run in two real spreadsheets, one with the English (US) locale and one with the Romanian locale.

In a file with the Romanian locale, arguments are separated by a semicolon and decimals use a comma. The questions below cover what changes and what does not.

Locale questions

Why does my formula show #ERROR! in a Romanian Google Sheet?

The file locale decides the separators. With the locale set to Romania, arguments are separated by a semicolon and decimals use a comma: =ROUND(2,567; 1) returns 2,6. A formula copied from an English tutorial, =ROUND(2.567, 1), returns #ERROR! in that file.

Are Google Sheets function names translated into Romanian?

No. In a Romanian-locale file the names stay in English: VLOOKUP, SUMIFS, IF. A translated name such as CAUTV returns #NAME?. Only the separators change.

How do I write an array like {1, 2; 3, 4} with the Romanian locale?

Columns are separated by a backslash and rows by a semicolon: {1\ 2; 3\ 4}. The English form {1, 2; 3, 4} returns #ERROR! there.

Does TEXT use Romanian format codes in a Romanian file?

No. The format code keeps the English pattern, "#,##0.00", and the result is shown with local separators: 1.234,50. A pattern typed with Romanian separators, "#.##0,00", gives 1.234,5000 instead.

Which decimal separator goes inside criteria and QUERY strings?

Criteria strings follow the file locale: in a Romanian file COUNTIFS(D2:D6; ">80,5") works. The QUERY language does not: inside the query string you still write 99.5, and 99,5 returns #VALUE!.

Lookup

Filter and sort

Math

Statistical

Logical

Text

Date

Financial

Array

Info

Web and import

Google-only

Markdown version