1. Home
  2. Functions
  3. Web
  4. IMPORTDATA

IMPORTDATA function

Imports a CSV or TSV file from a web address. Live web data is not available yet, so this returns #BLOCKED!.

Syntax

=IMPORTDATA(url, [delimiter], [locale])

Arguments

ArgumentRequiredDescription
urlRequiredThe file address
delimiterOptionalThe column delimiter
localeOptionalLocale for parsing

How to use IMPORTDATA

This function reads data from outside the workbook, so its result depends on what the source returns when the sheet calculates.

IMPORTDATA takes 1 required argument and 2 optional arguments. Type =IMPORTDATA( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=IMPORTDATA("https://example.com/a.csv")Result #BLOCKED!

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.