Skip to main content

Free for 14 days · from $9.90/mo

See plans

XERO TO EXCEL

Your first Xero report in Excel.
From nothing to budget vs actual.

A beginner's walkthrough: add XO Report, connect Xero, then build a small budget vs actual sheet that you update next month by changing one date.

A budget vs actual sheet in Excel for Demo Hotels Ltd with the Overall Budget: for September 2026 and year to date, Actual, Budget, Variance and Var % columns by account, favourable variances in green and unfavourable in red; September net profit 122,562 against a budget of 116,000
What you will build: actual, budget and variance, every figure live from Xero. Scroll sideways to see the whole sheet.Demo company data

What you will build.
One sheet, three formulas.

Nothing is assumed. Each step says why, so you can build the same thing for any account or period afterwards.

AT THE TOP

The inputs

Your company, the budget name and one month-end date. Next month you change only the date.

ONE ROW PER ACCOUNT

Actual and budget

XO.BALANCE brings the actual from Xero, XO.BUDGET the budget.

PLAIN EXCEL

The variance

Actual minus budget, and the percentage. No add-in needed for that part.

Build it in six steps.
About fifteen minutes.

Steps 1 and 2 happen once. Steps 3 to 6 are the report itself.

  1. STEP 1

    Add XO Report in Excel

    On the Home tab, click Add-ins, type "xo r" and click Add next to XO Report. No search box? Choose More Add-ins and search the Store.

    It goes with your Microsoft account, so it works in Excel on Windows, Mac and the web.

    Excel Home tab with the Add-ins button
    XO Report in the add-in search results, with its Add button
  2. STEP 2

    Connect to Xero and start the trial

    Click XO Report on the Home tab, then Connect to Xero. Sign in to Xero, pick your organisation and allow access. XO Report asks for read-only access: it can never change anything in Xero.

    Then click Start Free Trial: 14 days, no credit card. Add more companies later from Settings. More on the connection.

    XO Report button on the Excel Home tab
    XO Report pane in Excel with the Connect to Xero button
    The XO Report pane after connecting: Welcome to XO Report! Your 14-day free trial starts now. Full access to all features, with a Start Free Trial button
  3. STEP 3

    Find your company with XO.ORG

    In an empty cell, type =XO.ORG() and press Enter. It lists your connected companies, with an OrgID and an OrgName column. Every formula points at the OrgID cell, never at a name.

    See your company? The connection works. Here, a first XO.BALANCE already returns the same Sales figure as Xero's Profit and Loss.

    Excel with =XO.ORG() spilling OrgID !Ht9Rx and OrgName Demo Hotels Ltd in A1:B2, and =XO.BALANCE($A$2, A8, C4, C5) in C8 returning 412,751 for account 200 Sales for September 2026, labelled Same as Sales in the report
    XO.ORG lists the connected company; formulas use its org ID. Scroll sideways to see the whole sheet.Demo company data
  4. STEP 4

    Set the inputs and pull the actuals

    On a new sheet, put the inputs at the top: the org ID, the budget name, and the month end, the one date you type. The month start is a formula on it.

    List your account codes in column A from row 8, such as 200 for Sales. In C8 type =XO.BALANCE($C$1, $A8, $C$4, $C$3) and fill it down. Each row returns its account for the month. Always point at date cells: typed dates inside a formula are rejected.

    The inputs
    C1  Org ID       from =XO.ORG()
    C2  Budget name  Overall Budget
    C3  Month end    30/09/2026   (the one date you type)
    C4  Month start  =EOMONTH(C3,-1)+1
  5. STEP 5

    Add the budget with XO.BUDGET

    In D8 type =XO.BUDGET($C$1, $C$2, $A8, $C$4, $C$3): the same company, account and dates, plus the budget name from C2. Fill it down.

    Overall Budget is the usual name of a Xero budget; use yours if it differs. Upper or lower case doesn't matter. Xero budgets cover profit and loss accounts only, so a balance sheet account returns 0.

    Excel with =XO.BUDGET($C$1, $C$2, $A8 being typed in D8, next to an Actual of 412,751 for account 200 Sales; above, Org ID !Ht9Rx for Demo Hotels Ltd, Budget name Overall Budget, Month end 30 Sep 2026, Month start 1 Sep 2026 and Year start 1 Jan 2026
    The inputs at the top, the actual in C8, the budget going into D8. Scroll sideways to see the whole sheet.Demo company data
  6. STEP 6

    Work out the variance

    The variance is plain Excel: =C8-D8 in E8, and =IF(D8=0,"-",E8/D8) in F8 for the percentage. Fill them down and format the figures.

    For revenue, above budget is good; for costs, above budget is bad. Conditional formatting by account type makes that green and red.

    Row 8, then fill down
    C8  Actual    =XO.BALANCE($C$1, $A8, $C$4, $C$3)
    D8  Budget    =XO.BUDGET($C$1, $C$2, $A8, $C$4, $C$3)
    E8  Variance  =C8-D8
    F8  Var %     =IF(D8=0,"-",E8/D8)

Next month: change one date.
Or one company.

Type the new month end in C3 and every actual, budget and variance follows. Change the org ID in C1 and the same sheet shows another company.

The same budget vs actual sheet with the org ID changed to !Pq3Nt for Demo Property Ltd and the month moved to October 2026: Sales 188,950 against a budget of 185,000, net profit 153,278 against 146,500
Same sheet, another company and month: two cells changed. Scroll sideways to see the whole sheet.Demo company data

Recalculating can reuse figures XO Report already has. After a late invoice or a month-end close, click Refresh all formulas in the pane for the latest from Xero.

Three last touches.
Before you hand it on.

Check one figure

Compare one cell with the same line of Xero's Profit and Loss for the same dates. They should match exactly. If not, the account code in column A is the usual cause.

Freeze the headers

View, Freeze Panes, so the column labels stay visible as the sheet grows.

Protect the formulas

Leave only the input cells unlocked, then Review, Protect Sheet. The next person can change the date but can't break a formula.

Where to go next.
And what it costs.

NEXT REPORT

Build on what you made

Build a Profit and Loss or Balance Sheet report, add the year to date in the budget vs actual guide, or make a whole report follow one date cell with live Xero data in Excel.

PRICING

14 days free first

The trial needs no credit card. After it, Solo is US$9.90 a month for 1 company and Pro US$29.90 a month for up to 10. See all plans.

Questions people ask.

I already have XO Report. Should I read this or the quick start?
If you know the basics, the quick start is shorter. This tutorial is for anyone new to live Xero data in Excel: it builds a complete example from scratch.
What if my Xero organisation doesn't have a budget?
XO.BUDGET then returns an error, naming the budgets it did find, if any. Add one in Xero under Reports, Budget Manager, Add Budget, or stop at the actuals for now: the variance step is optional on a first go.
Why does XO.BALANCE need a start and an end date?
For profit and loss accounts it returns the activity between the two dates. For balance sheet accounts it returns the balance at the end date and ignores the start date. It works out which from the account type in Xero, so one formula shape covers both.
Can I compare two periods side by side?
Yes. Add date cells for the second period, such as the year start, and copy the formulas pointing at them: =XO.BALANCE($C$1, $A8, $C$5, $C$3) gives the year to date next to the month. For a whole report, insert a Profit & Loss with comparison periods and tick Show periods side by side.
How do I cover several companies?
Change the org ID in C1 to another company from XO.ORG and the whole sheet follows. For several companies at once, give each one its own column or sheet; the consolidation guide shows the pattern. If you later disconnect a company in the account portal, formulas pointing at it show an error until you reconnect or repoint them.
Does the workbook update when I reopen it?
Not always. A reopened workbook can show the figures it was saved with until Excel recalculates, and recalculating may reuse figures XO Report already has, so an actual can be up to about 35 minutes behind, and a budget figure longer. Pressing F9 does not guarantee new data from Xero: for the latest, click Refresh all formulas in the XO Report pane.

Build your first report today.

Add XO Report in Excel, connect Xero and follow the steps. 14-day free trial, no credit card.

Free trial · No credit card · Cancel anytime