Skip to main content

Free for 14 days · from $9.90/mo

See plans
Only in ExcelGoogle Sheets has no custom formulas. Use tables and reports there.
Back to Functions

XO.CURRENCIES

Get all currencies for an organization. Particularly useful for multi-currency businesses. Returns a table with 4 columns.

Syntax

=XO.CURRENCIES(org_id)

Parameters

ParameterRequiredDescription
org_idYesOrganization ID from XO.ORG()

Returns

A table with 4 columns:

Org ID
Org Name
Code
Description

Examples

Get all currencies:

=XO.CURRENCIES(A2)

Returns a spilling table of all configured currencies.

Org ID
Org Name
Code
Description
DEMO
Demo Org
USD
United States Dollar
DEMO
Demo Org
EUR
Euro
DEMO
Demo Org
GBP
British Pound

Multi-Organization Data

Using the Functions Tab

When connected to multiple Xero organizations, open the Functions tab in the task pane and select which organizations to include. Click "Insert Function" and the formula will be created for you, so you don't need to write VSTACK manually.

Advanced: Manual VSTACK Formula

To manually combine currencies from multiple orgs, use Excel's VSTACK function:

=VSTACK(XO.CURRENCIES(A2), DROP(XO.CURRENCIES(A3), 1))

The DROP(,1) removes the duplicate header row from the second result.

Troubleshooting

If you see an error, check the troubleshooting guide. XO Report shows standard Excel errors (#VALUE!, #N/A) for connection and data problems. To show a blank or your own message instead of an error, wrap the formula in IFERROR. Hover over the cell to see the specific message.

For a complete overview of building Xero reports in Excel, including how this function fits into a full workflow, see our complete Xero to Excel guide.

Related Functions