Jak przekonwertować plik CSV do formatu Excel
⚡ Inteligentne podsumowanie
Importing a CSV file into Excel turns a plain text file of comma separated values into a formatted worksheet. This page explains what a CSV file is, imports one with the Text Import Wizard, handles other delimiters such as the slash, and compares the ways to open a CSV.

A CSV file is one of the most common ways to move data between programs, because almost every application can read and write it. Excel opens a CSV in a few clicks and, with the Text Import Wizard, gives full control over how each column is read.
Co to jest plik CSV?
CSV stands for Comma Separated Values. It is a plain text file in which every line is one record, and the values inside a record are separated by a comma. Because it holds only text and separators, and no formatting, a CSV can be created and read by databases, web applications, and every spreadsheet program.
The limitation is that a CSV keeps no fonts, colours, formulas, or multiple sheets. It stores the raw data only, which is exactly why it is a reliable format for moving records from one system into Excel, where the formatting and formulas are added afterwards.
Jak importować/konwertować plik CSV do programu Excel
W tym samouczku zaimportujemy dane zewnętrzne z prostego pliku CSV zawierającego płatności klientów. Możesz pobrać plik CSV z tym ćwiczeniem.
- Otwórz nowy skoroszyt
- Kliknij zakładkę DANE na wstążce
- Kliknij przycisk Z tekstu
- Pojawi się następujące okno
- Przejdź do folderu, do którego pobrałeś plik CSV
- Wybierz plik da.csv
- Kliknij przycisk Importuj
- Otrzymasz następujący kreator importu pliku tekstowego
- Kliknij przycisk Dalej
- Wybierz Przecinek w panelu Ograniczniki
- Kliknij przycisk Dalej
- Kliknij przycisk Zakończ
- Kliknij przycisk OK
- Otrzymasz następujące dane
Importing Other Delimiter Separated Files
W niektórych przypadkach możesz nie otrzymać pliku oddzielonego przecinkami, może to być plik oddzielony ukośnikiem (\), potokiem (|) lub innymi plikami oddzielonymi ogranicznikami. Przyjrzyjmy się, jak sobie z nimi poradzić.
Oto przykładowy plik wartości oddzielonych ukośnikiem (\), który można pobrać.
Pobierz plik CSV oddzielony ukośnikiem (\).
- Otwórz nowy skoroszyt
- Kliknij zakładkę DANE na wstążce
- Kliknij przycisk Z tekstu
- Przejdź do folderu, do którego pobrałeś plik i zaimportuj go
- Otrzymasz następujący kreator importu pliku tekstowego
- Kliknij przycisk Dalej
- Teraz zamiast wybierać ogranicznik przecinka, wybierz inny i ustaw ukośnik (\) jako ogranicznik w panelu ograniczników
- Następnie kliknij przycisk Dalej.
- Następnie kliknij przycisk Zakończ
- Teraz zaimportuj dane do istniejącego arkusza
Otrzymasz następujące dane
💡 Wskazówka: The same wizard handles a Tab, a Semicolon, or a Pipe. Whenever the preview in the wizard shows every value squeezed into one column, the wrong delimiter is selected, so switch to Other and type the correct character.
Open vs Import: Two Ways to Bring a CSV into Excel
A CSV can reach a worksheet in two ways, and the right choice depends on how much control the columns need. The table below compares them.
| Metoda wykonania | W jaki sposób | Najlepszy dla |
|---|---|---|
| Open directly | Double click the file, or File then Open | A clean, comma separated file where the default column types are fine |
| Kreator importu tekstu | DATA tab, From Text, then choose the delimiter | A file with an unusual delimiter, or columns that must be set as text or date |
| Power Query (Get Data) | DATA tab, Get Data, From Text/CSV on newer Excel | A file that must be cleaned, filtered, and refreshed repeatedly |
⚠️ Ostrzeżenie: Opening a CSV directly can change the data. A long number such as a phone number or an ID may lose its leading zero, and a value that looks like a date may be converted. Use the Text Import Wizard and set that column to Text to keep the value exactly as it is.









