MarketData Hub All markets · Guides

Historical Market Data in Excel & Google Sheets

You don't need Python to analyse market history — a spreadsheet handles charts, returns and moving averages just fine. This guide walks through getting clean historical price data into Excel or Google Sheets and doing something useful with it.

Open the data downloader →

Step 1 — Download the CSV

Grab the instrument you want as a CSV — for example EUR/USD, gold or the US 500 index — choosing a timeframe that suits a spreadsheet. Daily or hourly candles are the sweet spot: Excel tops out at 1,048,576 rows, so decades of daily data fit easily, a few years of 1-minute data still fit, but tick data belongs in code, not a spreadsheet. The file layout (timestamp, open, high, low, close, volume) is documented in the CSV format guide.

Step 2 — Import into Excel

Don't just double-click the file — use Data → Get Data → From Text/CSV. Excel previews the file, detects the comma delimiter, and (importantly) parses the timestamp column as a real date-time. Click Load and you get a sortable, filterable table. If dates come through as text, set the column type to Date/Time in the import dialog (Power Query) rather than reformatting cells afterwards.

Step 2 (alternative) — Import into Google Sheets

Use File → Import → Upload, keep "Detect automatically" for the separator, and Sheets builds the grid with parsed dates. Sheets handles a few hundred thousand rows comfortably (the hard limit is 10 million cells across the sheet), so daily and hourly files are no problem.

Step 3 — Mind the timezone

All timestamps in the export are UTC. For daily candles that rarely matters; for intraday analysis around session opens or news events, remember your local market hours are shifted — convert with a helper column (e.g. =A2 + TIME(2,0,0) for UTC+2) rather than editing the raw data.

Step 4 — Do something with it

Common pitfalls

Ready to try it? Pick any of the 265+ instruments and export a daily CSV — it opens straight into either tool.

Frequently asked questions

How do I get historical stock or forex prices into Excel?
Download the instrument as a CSV, then use Data → Get Data → From Text/CSV in Excel. The comma-separated file imports with parsed date-times and OHLC price columns ready for charts and formulas.
How much historical data can Excel or Google Sheets handle?
Excel holds up to 1,048,576 rows — decades of daily candles or a few years of 1-minute data. Google Sheets allows 10 million cells total. For tick data, use a shorter date range or a programming language instead.
Why do my imported dates look wrong?
Opening a CSV by double-clicking lets Excel guess the date format from your locale, which can mangle timestamps. Import via Data → From Text/CSV (or File → Import in Sheets) and set the timestamp column to Date/Time. All timestamps in the exports are UTC.
Can I build candlestick charts in a spreadsheet?
Yes. Excel has a built-in stock (open-high-low-close) chart type, and Google Sheets offers a candlestick chart — both map directly onto the exported OHLC columns.

More guides