XERO TO EXCEL
Live Xero data in Excel.
Change one date, every number follows.
Build your report once on live Xero formulas. Next month, type the new month end in one cell and the month, the year to date, the balance sheet and the chart all move.

Build it in six steps.
The same steps as the video.
You need XO Report added in Excel and a Xero company connected. Every figure on the page is one of two formulas.
STEP 1
Put the inputs in cells
At the top of the sheet, keep the inputs together. The org ID comes from
=XO.ORG(), which lists your connected companies; here it sits in C2. The month end goes in C3. That is the one cell you will ever type in.Every other date is a formula on it:
=EOMONTH(C3,-1)+1for the month start,=DATE(YEAR(C3),1,1)for the year start, and the month columns step back with EOMONTH.
One input, the month end. Every other date follows it. Scroll sideways to see the whole sheet.Demo company data STEP 2
Write one XO.BALANCE with cell references
In the first figure cell, type
=XO.BALANCE($C$2, $A10, C$7, C$8): the org ID, the account code in column A, and the start and end dates above the column. It returns that account's total for the period.Always point at date cells. A date typed inside the formula is ambiguous between countries, so XO Report rejects it. The dollar signs keep the references right when you fill.

Org ID, account code, start date, end date. All cell references. Scroll sideways to see the whole sheet.Demo company data STEP 3
Fill it across, then down
Drag the formula across the months, then down the accounts. Each column reads its own dates, so one formula fills the whole report: the month, the year to date and twelve months of trend.

The same formula in another column reads that column's dates. Scroll sideways to see the whole sheet.Demo company data STEP 4
Add net profit with XO.PROFIT
For the bottom line,
=XO.PROFIT($C$2, C$7, C$8)returns net profit for the period in one cell. Fill it across and put a chart on the row: the chart moves with the figures.XO.BALANCE and XO.PROFIT also take optional tracking category and option pairs, so the same report can show one region or department. Keep the option in an input cell too.

Net profit for each month, and a chart that follows it. Scroll sideways to see the whole sheet.Demo company data STEP 5
Use the same formula for the balance sheet
Paste the same formula next to balance sheet accounts, such as the bank account, receivables and payables. XO.BALANCE sees the account type in Xero and returns the balance at the end date, ignoring the start date. No second formula to learn.

Balance sheet accounts return the balance at the End date. Scroll sideways to see the whole sheet.Demo company data STEP 6
Next month, change one cell
Type the new month end in C3. Every date follows, and every formula recalculates for the new month, the chart included.
Recalculating can reuse figures XO Report already has. To be sure you have the very latest from Xero, click Refresh all formulas in the XO Report pane.

One cell changed to 31 October: the whole report, chart included, moved to October. Scroll sideways to see the whole sheet.Demo company data
Watch it in 80 seconds.
One date changes, the report follows.
The finished report moves to October, then the same report is built from its one input: dates, XO.BALANCE, fill, XO.PROFIT, the balance sheet and Refresh all formulas.
Add the budget.
Same inputs, one more formula.
XO.BUDGET returns a Xero budget for an account and period. The variance is plain Excel: actual minus budget.

Next to the actual, type =XO.BUDGET($C$2, "Overall Budget", $A10, C$7, C$8). The budget name must match the name in Xero. Xero budgets cover profit and loss accounts only. Budget vs actual in Excel →
Several companies?
One column per company.
XO.ORG lists every connected company with its org ID. Point each column at a different org ID and the same date cells drive them all.

For lists such as the chart of accounts, the pane can write a formula that stacks several companies into one table, such as =VSTACK(XO.COA(A2), DROP(XO.COA(A3),1)), so the header row appears only once. Consolidation in Excel →
How the figures stay current.
You decide when.
Formulas recalculate when an input changes, such as the month end. That is what makes the one-cell report work. F9 forces a recalculation when Excel is set to manual (Shift+F9 for the active sheet).
Refresh all formulas in the pane fetches the latest from Xero for every formula, including lists such as =XO.COA(A2). Use it after a late invoice or a month-end close.
Reports and tables inserted from the pane have their own Refresh. Nothing refreshes on a schedule or while Excel is closed, and nothing is ever written back to Xero.
Questions people ask.
- How is this different from a Xero CSV export?
- An export is a copy of one moment. This workbook works every figure out from Xero when it recalculates. Next month you change one date cell and click Refresh all formulas, with nothing to export or paste.
- What happens if someone renames an account in Xero?
- Nothing breaks. XO.BALANCE finds the account by its code, not its name. Archived accounts still return their history. If a code no longer exists at all, the formula shows an error: check the code in column A.
- How fresh are the figures when I press F9?
- F9 recalculates, but it may reuse figures XO Report already has, so a report figure can be up to about 35 minutes behind. For the latest from Xero, click Refresh all formulas in the XO Report pane. A long date range can take a few seconds the first time.
- Does the pattern work for the balance sheet?
- Yes. For asset, liability and equity accounts XO.BALANCE returns the balance at the end date and ignores the start date, so the same formula covers both. A balance-sheet-only model needs just the end dates.
- Can I lock the workbook so people only change the inputs?
- Yes. Use Excel's Protect Sheet on the report and leave only the input cells unlocked. XO Report formulas behave like any other formula under protection.
- Does it refresh by itself overnight?
- No. XO Report reads Xero when Excel recalculates or when you click Refresh, with the workbook open. Nothing runs on a schedule, so the figures you see are the ones you asked for.