Excel Get Data from Web: what it does well and where it fails

In short: Excel Get Data from Web, Power Query's From Web connector, is the right tool for static HTML tables and files at a URL that you want to refresh, such as data for a year-end report. It struggles with pages that load data with JavaScript and with results spread across many pages. There, a browser extension is often simpler.
Excel already has a web scraper built in. It sits on the Data tab as From Web, and it runs on Power Query. This guide shows how to use it, how to keep a report fresh, where it breaks, and when a browser extension fits better.
How do you use Get Data from Web in Excel?
Microsoft's support article says the Web connector in Excel is available as part of an Office 365 (now Microsoft 365) subscription, and you need an internet connection. Microsoft's own example uses a Wikipedia list of U.S. states, so a public Wikipedia table is a good first test.
- On the Data tab, select From Web (or Get Data > From Other Sources > From Web).
- Paste the page URL into the box and select OK.
- The first time you connect to a site, choose Anonymous for a public page and select Connect.
- In the Navigator, click each suggested table to preview it. If you are unsure which one holds your data, open the Web View tab, which highlights the tables it detected.
- If no table fits, select Add table using examples and type a few sample values for each column. Power Query extracts the data that matches the pattern.
- Select Load to send the table to the grid, or Transform Data to fix headers and data types in the Power Query Editor first.
See also our guide to moving a Wikipedia table to Excel.
What does From Web do well?
Static HTML tables
If the table is part of the page's HTML when it arrives, From Web reads its structure directly. Microsoft's test: open the page in a browser and watch it load. If the content shows up right away, it is a regular HTML page.
Files published at a URL
The Web connector also imports files that live on the web, including CSV, JSON, XML, Excel, and PDF. That suits open data portals such as data.gov, the U.S. government's open data site, where agencies publish datasets you can link to directly. When a site offers a download, use it.
Refresh
This is the real strength. Once the query exists, Excel can fetch the latest version on demand, when you open the file, or every few minutes. The steps are in the year-end section below.

Where does Excel's From Web fall short?
Pages that load their data with JavaScript
Many modern pages arrive almost empty and fill in their tables with scripts. Microsoft's troubleshooting guide warns that these dynamic pages can cause sporadic errors: sometimes the connector downloads the HTML before the content has finished loading. Microsoft's remedy is a WaitFor option on the Web.BrowserContents function, which means editing M code by hand in the Advanced Editor. Microsoft's comparison table lists Power BI Desktop, not Excel, as the app that generates that function.
Pagination and "Load more" buttons
Each From Web query starts from a single URL. To cover pages 1 through 20, you have to build the list of URLs yourself, typically with a parameter and a custom function in the Power Query Editor. The connector has no documented option to click "Load more" or scroll. Our guide to scraping multiple pages covers both patterns.
Sites with their own sign-in page
The credential types Microsoft documents for the Web connector are Anonymous, Windows, Basic, Web API, and Organizational account. Many websites use their own sign-in form instead, which is not one of those options. If a page requires an account, look for an official export or API from that site, and check its terms. Do not try to work around the sign-in.
How do you keep web data fresh in a year-end Excel report?
A year-end report or dashboard needs live numbers while you build it and a fixed copy when you close it.
Set up the refresh
- Open Data > Queries & Connections, right-click the query, and select Properties.
- On the Usage tab, check Refresh data when opening the file. To update while you work, also check Refresh every and enter the number of minutes. Avoid short intervals: every refresh requests the page again.
- If charts or PivotTables depend on the query, clear Enable background refresh so Excel runs the query while you wait.
- Select OK. To update the whole workbook by hand, select Data > Refresh All (Ctrl + Alt + F5).
- At the cutoff, copy the table and paste it into a new sheet with Paste Special > Values. Add the date and the source URL. Later refreshes do not change this copy.
Excel may block external connections at first. If it does, enable them from the Trust Center bar or save the workbook in a trusted location.
What breaks when the page layout changes?
A query replays recorded steps. When the site changes, some failures are easy to miss:
| What you see | Likely cause | What to do |
|---|---|---|
| "Column wasn't found," every time | Header renamed or removed | Fix the step that names it |
| Same error, then it clears | Page still loading | Refresh again, then compare |
Blank cells, shown as Error in the editor | Text in a number column | Fix the data type step |
| Page not found | URL moved | Update the Source step |
| No error, wrong rows | Table position changed | Pick the table again |
The last row is the risky one. One of Microsoft's sample queries picks its table by position, Source{0}[Data]. If yours does the same, a new table added above the original can feed the wrong rows into your report without an error.
How to spot a silent break
Click the loaded table and rename it WebData in the Table Name box on the table's design tab. In cell B1 of a checks sheet, type the minimum row count you expect. If the table's number column is called Value, add these formulas to the checks sheet:
=ROWS(WebData[Value])counts the rows that arrived.=COUNT(WebData[Value])counts the cells that hold real numbers, not text or blanks.=IF(OR(ROWS(WebData[Value])<$B$1,COUNT(WebData[Value])<ROWS(WebData[Value])),"CHECK","OK")flags missing rows or bad numbers.
Before you share the file, compare a few values with the live page. A formula cannot tell that a full table is wrong or outdated.
From Web or a browser extension: which fits?
Use the built-in tool when it works. Switch when the page or the job does not suit it:
| Situation | Better fit | Why |
|---|---|---|
| Static table, refreshed weekly | Excel From Web | Built-in refresh |
| CSV or JSON at a URL | Excel From Web | Imports files directly |
| Table filled in by scripts | Browser extension | Reads the loaded page |
| Many pages or "Load more" | Browser extension | No M code to write |
| One short table, once | Copy and paste | Fastest |
Use public data and respect the rules. Neither Excel nor an extension changes a website's terms of use. Do not use either to get past sign-ins, captchas, paywalls, or rate limits. If you collect personal data, such as names or email addresses, data protection law applies. Read our guide on whether web scraping is legal. This is general information, not legal advice.
How to do it with ScrapeSheet
ScrapeSheet runs in your browser, on the page you already see, so it works with the content as it appears on your screen. The full walkthrough is on our web scraper to Excel page.
- Install ScrapeSheet from the Chrome Web Store and pin it.
- Open the page you want and wait for the table or list to appear.
- Click the ScrapeSheet icon to open the panel, then click Extract. It detects the tables and lists on the page on its own.
- Pick the data and export it as an Excel
.xlsxfile, as a CSV file, or to the clipboard. - For results spread across pages, ScrapeSheet Pro follows pagination and loads infinite-scroll lists to collect every result.
The free plan allows up to 20 rows per export and one page per run. ScrapeSheet Pro (€12.99 per month) removes the row limit, covers all pages, and adds AI extraction with your own Claude or OpenAI key. Each export is a snapshot of the page at that moment. That suits a fixed year-end copy; if you need a sheet that updates itself on a timer from a static page, Excel's From Web is the better tool. For a broader comparison of methods, read how to scrape a website to Excel, or browse all guides on the ScrapeSheet blog.
FAQ
How do I scrape data from a website to Excel?
Without code, the built-in way is the Data tab: select From Web, paste the page URL, and select OK. In the Navigator, pick a suggested table and select Load, or Transform Data to clean it first. If the page builds its table with scripts, a browser extension that reads the loaded page is usually easier.
Why does Excel From Web show no tables?
The page may build its data with JavaScript after it loads, or the data may not be in an HTML table. Try Add table using examples in the Navigator. If that fails too, a browser extension that reads the loaded page is usually easier.
Can Excel refresh web data automatically?
Yes. Open Data > Queries & Connections, right-click the query, select Properties, and on the Usage tab, check Refresh every and enter a number of minutes, or check Refresh data when opening the file. To update the whole workbook by hand, select Refresh All on the Data tab.
Can Excel Get Data from Web handle multiple pages?
Each From Web query starts from a single URL. To cover numbered pages, you build the URL list yourself with a parameter and a custom function in Power Query. The connector has no documented option to click "Load more" buttons or scroll.
What is an Excel web query?
It is a saved connection that pulls data from a web page into a sheet and can be refreshed. Microsoft has deprecated the old Web (Legacy) wizard and recommends the Power Query web connector for new web queries. To move an old one, right-click its data, select Edit Query, copy the URL, and paste it into Data > From Web.
Sources
General information, not legal advice. Always check the website's terms and the data-protection rules that apply to you.
Web Scraper is a trademark of its owner; ScrapeSheet is not affiliated with it. Comparisons are based on publicly documented features as of November 2026 and may change.