Excel's New IMPORTCSV and IMPORTTEXT Functions: Simplify File Imports
MyOnlineTrainingHubFebruary 4, 20267 min60,527 views
12 connectionsΒ·19 entities in this videoβIntroducing IMPORTCSV and IMPORTTEXT
- π‘ Excel has released two new functions, IMPORTCSV and IMPORTTEXT, making data imports from CSV and text files significantly easier and more transparent.
- π These functions are currently available for Microsoft 365 users on the beta channel.
- β Unlike Power Query, these new functions embed the import logic directly into the formula, making the structure explicit and easier to troubleshoot.
Using IMPORTCSV
- π― The IMPORTCSV function is straightforward for comma-separated value files.
- π The primary argument is the file path, which can be a local path or a URL pointing directly to the file.
- π Upon entering the formula, data is directly imported into the Excel grid without preview windows or hidden Power Query steps.
- π Imports made with these functions can be refreshed via the Data tab's Refresh All feature, similar to Power Query.
Utilizing IMPORTTEXT
- π§© The IMPORTTEXT function offers more flexibility for various text file formats.
- βοΈ Optional arguments include specifying the delimiter (e.g., comma, space), defining fixed-width columns, skipping rows, and setting the take rows count.
- π Advanced options also allow for specifying file encoding (e.g., UTF-16) and regional formatting to ensure correct data interpretation.
Advanced Data Manipulation
- π Since IMPORTCSV and IMPORTTEXT return arrays, their output can be directly used with other Excel functions like GROUPBY for sorting, summarizing, or extracting data.
- π The LET function can be used to organize complex formulas, making them more readable and efficient by defining variables for imported data and intermediate steps.
- π This formula-driven approach allows for dynamic data summarization directly from external text files, with updates available via 'Refresh All'.
When to Use Which Tool
- β‘οΈ Use IMPORTCSV/IMPORTTEXT for structured, straightforward imports where data is already clean and transparency is key.
- β‘οΈ Use Power Query for complex data transformation, merging multiple files, connecting to diverse data sources (databases, APIs), or when dealing with messy data.
Knowledge graph19 entities Β· 12 connections
How they connect
An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.
Hover Β· drag to explore
19 entities
Chapters4 moments
Key Moments
Transcript29 segments
Full Transcript
Topics15 themes
Whatβs Discussed
IMPORTCSVIMPORTTEXTExcel FunctionsPower QueryMicrosoft 365Data ImportCSV FilesText FilesFile PathDelimiterEncodingRegional FormattingArray FunctionsLET FunctionGROUPBY Function
Smart Objects19 Β· 12 links
ProductsΒ· 11
ConceptsΒ· 8