Web Microsoft 365 ◉ 24 views Dynamic Array

=IMPORTCSV()

IMPORTCSV function

Applies To: Excel for Microsoft 365
=IMPORTCSV(path, [skip_rows], [take_rows], [locale])
Hover argument names in the table for details.
Output typeText
Popularity15 / 100
VolatileNo
Dynamic ArrayYes
📥 Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =IMPORTCSV() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download IMPORTCSV.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
path Number Required The local file path or URL of the CSV file you want to import.
skip_rows Range Required A number that specifies how many rows to skip. A negative value skips rows from the end of the array.
take_rows Range Required A number that specifies how many rows to return. A negative value takes rows from the end of the array.
locale Date Required Determines regional formatting (e.g., date, number formats). By default, the OS locale is used.

▣ Examples

▦ Data
CellValue
A2 Product
B2 Category
C2 Price
A3 A
B3 1
C3 10
A4 B
B4 2
C4 20
A5 C
B5 3
C5 30
A6 Product
B6 Category
C6 Price
A7 A
B7 1
C7 10
A8 B
B8 2
C8 20
A9 C
B9 3
C9 30
A10 Product
B10 Category
C10 Price
A11 A
B11 1
C11 10
A12 B
B12 2
C12 20
A13 C
B13 3
C13 30
A14 Product
B14 Category
C14 Price
A15 A
B15 1
C15 10
A16 B
B16 2
C16 20
A17 C
B17 3
C17 30
Example 1 =IMPORTCSV("C:\Data\example.csv",,2)
Example 2 =IMPORTCSV("C:\Data\example.csv",1)

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.