![]() |
VOOZH | about |
The CData Excel Add-In for Xero provides formulas that can edit, save, and delete Xero data. The following three steps show how you can automate the following task: Search Xero data for a user-specified value and then organize the results into an Excel spreadsheet.
Accessing and integrating live data from Xero has never been easier with CData. Customers rely on CData connectivity to:
Customers regularly integrate their Xero data with preferred tools, like Tableau, Qlik Sense, or Excel, and integrate Xero data into their database or data warehouse.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as XeroConnection1, or a connection string. The connection string consists of the required properties for connecting to Xero data, separated by semicolons.
To connect, set the Schema connection property in addition to any authentication values. Xero offers authentication for private applications, public applications, and partner applications. Set the XeroAppAuthentication property to PUBLIC, PRIVATE, or PARTNER, depending on the type of application configured. To connect from a private application, you will additionally need to set the OAuthAccessToken, OAuthClientId, OAuthClientSecret, CertificateStoreType, CertificateStore, and CertificateStorePassword.
To connect from a public or partner application, you can use the embedded OAuthClientId, OAuthClientSecret, and CallbackURL, or you can register an app to obtain your own OAuth values.
See the "Getting Started" chapter of the help documentation for a guide to authenticating to Xero.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Items WHERE Name = '"&B2&"'","InitiateOAuth="&B1&";Provider=Xero",B3)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Xero to get started:
Download NowLearn more:
👁 Xero IconThe Xero Excel Add-In is a powerful tool that allows you to connect with live Xero accounting data, directly from Microsoft Excel.
Use Excel to read, write, and update Xero Customers, Transactions, Invoices, Sales Receipts, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!