In Excel: open the file via Data ▸ From Text/CSV (not by double-clicking), check the detected delimiter and column types in the preview, then Load — or convert it to a real .xlsx with the tool above.
3 rows · 3 columns · Clean numbers become numeric cells; IDs like 007 stay text.
What this does
A .csv is plain text, not an Excel file — Excel merely knows how to display it. Double-clicking lets Excel guess the delimiter and data types, which is where mangled umlauts, stripped leading zeros, and dates like 1/2 turning into February 1st come from. Importing through Data ▸ From Text/CSV (Power Query) shows a preview where you control the delimiter, encoding, and per-column types before anything is loaded. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “excel function to import data from a csv link”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected formula change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
A bank export orders.csv uses semicolons and contains the customer number 007. Double-clicked, Excel shows 7 in one column on some systems and everything-in-column-A on others. Imported via From Text/CSV with delimiter Semicolon and the customer column set to Text, it loads as 007 in its own column — then File ▸ Save As .xlsx makes it a real workbook. Almost every system exports CSV, and almost every recipient wants a clean spreadsheet. Controlling the import (or converting directly) prevents the classic silent data corruption: lost zeros, wrong dates, broken characters. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “excel function to import data from a csv link”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
Common mistakes
- Double-clicking the CSV and letting Excel guess the delimiter and types.
- Losing leading zeros because numeric-looking IDs were auto-typed as numbers.
- Broken ä/ö/ü because the file is UTF-8 but was read as ANSI — set File Origin to 65001: Unicode (UTF-8).
- Saving the imported data back as .csv and wondering where the formatting went — save as .xlsx.
Frequently asked questions
Is a CSV file an Excel file?
No. CSV is plain text with delimiter-separated values. Excel can open and display it, but features like formulas, formatting, and multiple sheets need .xlsx.
Why does my CSV open with everything in column A?
The file's delimiter does not match your system list separator (comma vs. semicolon). Import via Data ▸ From Text/CSV and set the delimiter explicitly.
Is the converter on this page safe for confidential data?
Yes — it builds the .xlsx entirely in your browser. Nothing is uploaded.
Other ways people ask this
This is also commonly searched as “how to import data from excel”, “excel link function”, “data function in excel” and “import data from internet to excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to import data from excel”, “excel link function”, “data function in excel” all point at the one operation explained on this page, which is why they all lead here.