A spreadsheet connector is a link between a sheet and an outside source, such as a web page, a CSV file, another workbook or a database, that refreshes cells without manual copying. For most jobs the built-in option in Google Sheets or Excel is enough, and it costs nothing beyond the software you already use. The harder decisions concern refresh timing, credentials and what happens when the source changes shape.
How Live Data Reaches a Sheet
2.1 Three Refresh Patterns
Every connector follows one of three patterns. Knowing which one you have tells you how fresh the data can be.
- Pull on open or on demand. The sheet fetches the data when the file opens or when someone presses refresh. Most built-in functions work this way.
- Scheduled pull. A service or the host platform refreshes the data on a timer, even when nobody is working in the file. Automation platforms and Excel with Power Automate typically offer this.
- Push. The source sends a change to the sheet through a webhook or an automation trigger, such as a new row in a form tool.
2.2 Why “Live” Usually Means “Recent”
Google Sheets recalculates IMPORTDATA, IMPORTXML and IMPORTHTML at intervals Google controls. In practice this is roughly hourly, and you cannot force it from the interface. Editing the formula or copying it to a new cell can trigger a fresh fetch, but this is not a reliable schedule.
A value in the sheet is therefore only as current as its last successful fetch. That may be an hour old or more. Base your design on that number, not on the word “live”.
Skip the setup
Holdings, dividends and yield by month, with sparkline-style trends and a portfolio summary.
Built-in Connectors in Google Sheets
3.1 IMPORTDATA for CSV and TSV Files
The syntax is =IMPORTDATA("https://example.com/export/orders.csv"). The function reads a publicly accessible CSV or TSV file and spills the whole file into the grid from the cell where you enter it.
Keep the cells below and to the right of the formula empty, or the spill will fail. The function cannot open login-protected files. Numbers can arrive as text when the source uses a decimal separator your locale does not expect, so check the first few values before you build on them.
3.2 IMPORTRANGE Between Spreadsheets
The syntax is =IMPORTRANGE("spreadsheet_key","Sales!A1:F500"), where the first argument is the ID taken from the source file’s URL. On first use the cell shows a #REF! error until someone clicks “Allow access”.
Access is tied to the person who authorised the formula. If that person loses access to the source, the import stops for everyone. The source file must also be shared with the reader. Google caps the number of distinct import connections per spreadsheet, so check the current limit before you design a large dashboard around it. Dependent formulas wait for each import, so a long chain of IMPORTRANGE calls makes the workbook noticeably slower.
3.3 IMPORTXML and IMPORTHTML for Web Pages
IMPORTXML takes an XPath expression, for example =IMPORTXML(url, "//table/tr/td[2]"), and returns the matching text. IMPORTHTML reads a table by its position on the page, which is simpler to write but equally fragile.
Both functions read static HTML only. If the figures are inserted by JavaScript after the page loads, the formula returns blanks, which is common on modern storefronts and dashboards. Class names and table positions also change when a site is redesigned. A formula that worked in March can return nothing by June, and the sheet will not tell you why.
3.4 GOOGLEFINANCE for Market Data
GOOGLEFINANCE returns current prices, historical series and company attributes, for example =GOOGLEFINANCE("NASDAQ:GOOG","price"). Quotes are often delayed, and historical depth varies by exchange and instrument.
Use it for reference tables and trend lines. Do not use it as the basis for trading decisions or for anything that needs an exact timestamp.
Built-in Connectors in Excel
4.1 Power Query (Data > Get Data)
Power Query is the main connector in Excel. The route is Data, then Get Data, then the source type: From Web, From Text/CSV, From Folder, From SQL Server, From SharePoint, From Excel Workbook and others.
Power Query opens an editor where every change is recorded as a step. The steps rerun on each refresh, so a clean-up done once applies to every future import. You then load the result as a table, to a worksheet or to the Data Model. Power Query also handles authentication, paging through multi-page API results and joining several sources. Its steps are written in the M language, which you can edit in the Advanced Editor when a built-in option is not enough.
4.2 Stocks and Geography Data Types
Stocks and Geography are linked data types available with Microsoft 365 subscriptions. Convert a column of company names or tickers to the linked type, then extract fields using the field picker or the dot syntax, for example =A2.Price.
The data is supplied by Microsoft and third-party providers. It can be delayed, and coverage varies by market and country. Linked cells need a live connection to refresh, so they will not update on an offline machine.
4.3 Refresh Settings
Open Queries and Connections, then Properties. The options usually include refresh on file open, background refresh and, in some configurations, refresh every set number of minutes.
A timed refresh only runs while the file is open on the desktop. For unattended runs you need Excel for the web with Power Automate, Power BI, or a scheduled task on a machine that stays on. Credentials are stored per user and per machine, so a colleague who opens the file may see an authentication prompt the first time.
Automation Platforms and Third-Party Connectors
5.1 Types of Platform
- Integration platforms such as Zapier and Make. They trigger on events in software-as-a-service apps and write rows to a sheet.
- Spreadsheet-specific add-ons. They schedule pulls from advertising platforms, accounting software or e-commerce stores into a sheet, often with a ready-made template.
- Workflow tools built into a suite. Power Automate in the Microsoft ecosystem and Apps Script in Google Workspace fall into this group.
- API-to-sheet services. These expose a REST endpoint as a table the sheet can read.
The names above are examples, not endorsements. Check each product’s current pricing, supported sources and refresh frequency before you choose.
5.2 When a Platform Is Worth Paying For
A paid platform is justified when the source has no export, needs authentication the built-in options cannot handle, must refresh unattended more often than about hourly, or feeds several sheets at once. It is not justified when a built-in function already does the job, or when the data is only needed once a month and someone can download it by hand in five minutes.

Ready-made template
Sales, costs, cash and targets on one screen. The formulas are already built, so you type the numbers and the dashboard does the rest.
How to Choose a Connector
6.1 Comparison Matrix
| Method | Platform | Refresh behaviour | Authentication | Practical volume | Main limitation |
|---|---|---|---|---|---|
| IMPORTDATA | Google Sheets | About hourly, not forced | None (public URLs) | Modest CSV files | Public files only |
| IMPORTRANGE | Google Sheets | Periodic, set by Google | Sheet sharing permission | Moderate ranges | Permission chain and connection cap |
| IMPORTXML / IMPORTHTML | Google Sheets | About hourly | None | Small tables | Fails on JavaScript pages and redesigns |
| GOOGLEFINANCE | Google Sheets | Often delayed | None | Price series | Delay and uneven coverage |
| Power Query | Excel desktop and Microsoft 365 | On open, timed or manual | Stored per query, supports OAuth and keys | Large, bounded by Excel’s row limit | Timed refresh needs the file open |
| Stocks and Geography | Excel for Microsoft 365 | Set by provider | Microsoft account | Per cell | Subscription and coverage |
| Automation platform | Any | Schedule or event | OAuth and API keys | Depends on plan | Per-task costs and third-party dependency |
6.2 Decision Rules
- For a public CSV or TSV file, use IMPORTDATA.
- For data already held in another Google Sheet, use IMPORTRANGE.
- For authentication, transformation or more than a few hundred thousand rows, use Power Query in Excel.
- For unattended refresh more often than about hourly, or for data drawn from many apps, use an automation platform.
- For figures inserted by JavaScript, do not use IMPORTXML. Look for the underlying data endpoint or an export instead.
- For a source owned by another team that may change its layout, prefer a documented API or export over scraping a page.
Essential Formulas for Cleaning and Summarising Imported Data
Imported data almost never arrives ready for analysis. The formulas below handle most of the clean-up, and they should sit in a separate tab from the raw import so the raw block can be overwritten safely.
7.1 Cleaning Functions
Use TRIM to remove stray spaces, VALUE to convert text to numbers, DATEVALUE to convert text to dates and SUBSTITUTE to strip characters such as currency symbols or thousands separators.
For example, if a price arrives as “£1,240.50 ” in cell A2, the formula =VALUE(SUBSTITUTE(SUBSTITUTE(TRIM(A2),"£",""),",","")) returns 1240.5. Where the locale uses a comma as the decimal separator, the second SUBSTITUTE removes the wrong character, so test one row from each locale before you apply the formula to the whole column.
7.2 Lookup and Summary Functions
Use XLOOKUP, or INDEX with MATCH in older versions, to join imported rows to your own reference lists, such as a product code to a product name. Use SUMIFS and COUNTIFS to total and count by category and date range.
In Google Sheets, QUERY can group and aggregate a block in one formula. For example, =QUERY(Raw!A:F,"select B, sum(E) where A is not null group by B",1) totals column E by the category in column B and skips blank rows.
7.3 Guard Formulas
A connector that fails silently is worse than one that fails loudly. Add a check cell that tests the import itself. For example, =IF(COUNTA(Raw!A:A)<2,"Import empty, check source","OK") flags a block that returned only a header or nothing at all.
Be careful with IFERROR. Wrapping a whole summary in IFERROR(…, 0) hides broken imports as zero totals. Apply it only to the specific cell where a blank is expected, and let the rest of the sheet show the error.
Worked Example: Campaign Spend Into a Budget Sheet
Scenario. A small finance team tracks monthly advertising spend. The ad platform provides a daily CSV export from a private link that needs no login. The team wants the budget sheet to show month-to-date spend per campaign without copying anything by hand. The figures below are illustrative.
11.1 Google Sheets Version
- Create a tab named Settings. Place the export URL in cell B2 and label it “Spend export URL”.
- Create a tab named Raw. In cell A1 enter
=IMPORTDATA(Settings!B2). The export lands in columns A to E, with the headers in row 1: Date, Campaign, Region, Currency, Spend. - Keep rows and columns to the right of the import empty. Do not type anything into the Raw tab.
- Create a tab named Budget. In cell B2 enter
=SUMIFS(Raw!E:E, Raw!B:B, "Spring launch"). The result is the total spend for that campaign, which for this example reads 48,200 currency units. - In cell B3 enter
=IF(COUNTA(Raw!A:A)<2,"Import empty, check source","OK"). This flags a failed fetch. - Compare B2 with the ad platform’s own total for the same date range. A gap of a few per cent usually points to a currency or time zone mismatch, not a broken connector.
- For a last-updated stamp, enter the date and time by hand after each check. A NOW() formula recalculates on every edit, so it stops reflecting the import time.
11.2 Excel Version
- Go to Data, then Get Data, then From Web. Paste the export URL and load it into Power Query.
- Promote the first row to headers. Change the Date column to a date type, and the Spend column to a decimal number.
- Filter out rows where Campaign is blank. Each step is recorded, so the same clean-up runs on every refresh.
- Choose Close and Load To, select Table, and name it tblSpend.
- On a Budget sheet, enter
=SUMIFS(tblSpend[Spend],tblSpend[Campaign],"Spring launch"). Structured references keep working when the table grows. - In Queries and Connections, set the query to refresh on file open. Because the file must be open for a timed refresh, schedule a separate Power Automate flow if the figures are needed without anyone opening the file.
11.3 What the Example Shows
Both versions give the same answer, but they fail in different ways. The Google Sheets version breaks visibly when the link changes, and the check cell reports it. The Excel version keeps its cleaning steps in one place, so a change to the export’s column order shows up as a clear error at the step that failed.
Go-Live Checklist
Run this checklist before any connector feeds a report that other people rely on.
- Record the source, its owner and the account that holds the credential.
- Compare the first output total with the source’s own figure for one period.
- Confirm the refresh behaviour and write the expected freshness on the settings tab.
- Add a check cell that flags an empty or truncated import.
- Convert every number, date and currency field to its correct type.
- Test one row from each locale, time zone and currency present in the data.
- Confirm that the import area is empty below and to the right.
- Share the file only after checking which imports and permissions the recipient will inherit.
If you take one rule from this guide, make it this: a connector is only as reliable as the owner of its source. Choose the method that keeps that owner reachable, and document the rest so the sheet still works when the person who built it moves on.
