Formula reference

COUNTRIES

List supported country codes and names.

Signature

COUNTRIES()

Square brackets mark optional arguments; do not type the brackets in your formula.

Arguments

COUNTRIES arguments
ArgumentMeaning
NoneThis function takes no arguments.

Return value

Returns a 2-D list: country codes in column A and country names in column B. The pinned index contains 251 two-letter entries, including the source’s UK alias; use GB for the United Kingdom. Directory presence does not imply a complete business-day calendar.

Worked examples

=COUNTRIES()

=COUNTRIES()

Spills two columns beginning AD · Andorra, AE · United Arab Emirates, AF · Afghanistan. Leave the destination cells empty.

=ROWS(COUNTRIES())

=ROWS(COUNTRIES())

Returns 251 for the pinned release. This count describes directory entries, not the number of complete country calendars.

Free and Pro

This directory or diagnostic function is available on both Free and Pro, with no year argument. Regional calendar calculations, years outside the current + next calendar year, and custom extra ranges require Pro. The spreadsheet owner’s tier applies. See pricing.

Errors

Year-window, missing-year and incomplete-calendar errors do not apply to this directory or diagnostic call. SUBDIVISIONS with an unsupported country returns the unknown-code error below. These are the exact calendar error texts you may see in related formulas:

Calendar coverage and estimated dates

Estimated dates can move by a day when authorities confirm them. HOLIDAYS and HOLIDAYNAME preserve the source’s exact " (estimated)" suffix where supplied. An absent label does not prove that a date is confirmed.

For codes without working-weekend data, coverage is statutory weekend only: public holidays and the configured weekend rule, with no inferred make-up working days. Business-day formulas require a complete calendar for every year touched; Pro does not unlock unpublished calendars. Read the data coverage guide.

All formula documentation · Get support