IMPORTCSV Function in Excel: Import a CSV File Into the Grid

IMPORTCSV Function in Excel: Import a CSV File Into the Grid 1
⏱ 1 min readUpdated 5 October 2026

Lookup & referenceLevel: IntermediateAvailable in: Excel 365 / 2021+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. IMPORTCSV in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions

IMPORTCSV (2026) is the simple version of IMPORTTEXT for standard CSV files: one argument, a refreshable dynamic array.

Advertisement

Syntax

=IMPORTCSV(path, [skip_rows], [take_rows], [locale])
Argument What it means
path CSV file path or URL
skip_rows, take_rows Optional row limits

Examples

Example 1

=IMPORTCSV(A2)

Result: (spills the CSV as a table). See the worked example table below for more cases.

IMPORTCSV in practice

Where you will use it

  • Monthly sales exports
  • Data from web apps that export CSV
  • Feeding a dashboard from a CSV that is replaced daily

Worked example

FileFormulaResult
D:\Data\sales.csv=IMPORTCSV(A2)(spills the CSV as a table)

Not calculated here: IMPORTCSV needs the latest Microsoft 365 (rolling out from 2026). The result shown is what it returns.

Mistakes people make

MistakeWhat to do instead
Dates read as textSet the locale argument or convert with DATEVALUE
Non-standard separatorsUse IMPORTTEXT with a delimiter

IMPORTTEXT

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

Advertisement
✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong

Leave a Reply

Your email address will not be published. Required fields are marked *