Kako pretvoriti CSV datoteku u Excel

โšก Pametni saลพetak

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.

  • ๐Ÿ“„ CSV Definition: A CSV is a plain text file in which each line is a record and each value is separated by a comma.
  • ๐Ÿ“ฅ From Text: The DATA tab, From Text button opens the Text Import Wizard to bring a CSV into a worksheet.
  • ๐Ÿ”ข Delimited: Choose the Delimited option, then tick Comma so each value lands in its own column.
  • โž— Other Delimiters: When the file uses a slash, a pipe, or a tab, choose Other and type the character on the Delimiters panel.
  • ๐Ÿ—‚๏ธ Plasman: The wizard finishes by placing the data in an existing or a new worksheet.
  • ๐Ÿ–ฑ๏ธ Two Ways: A CSV can be opened directly by double clicking, or imported through the wizard for full control of the columns.

Kako pretvoriti CSV datoteku u Excel

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.

ล to je CSV datoteka?

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.

Kako uvesti/konvertirati CSV u Excel

U ovom ฤ‡emo vodiฤu uvesti vanjske podatke iz jednostavne CSV datoteke koja sadrลพi plaฤ‡anja korisnika. Moลพete preuzeti CSV datoteku za ovu vjeลพbu.

Preuzmite CSV datoteku

  • Otvorite novu radnu knjigu
  • Pritisnite karticu PODACI na vrpci
  • Pritisnite gumb Iz teksta
  • Dobit ฤ‡ete sljedeฤ‡i prozor

Uvezi/Pretvori CSV u Excel

  • Idite do mape u koju ste preuzeli CSV datoteku
  • Odaberite datoteku da.csv
  • Kliknite gumb Uvezi
  • Dobit ฤ‡ete sljedeฤ‡i ฤarobnjak za uvoz tekstualne datoteke

Uvezi/Pretvori CSV u Excel

  • Pritisnite gumb Dalje

Uvezi/Pretvori CSV u Excel

  • Odaberite Zarez na ploฤi Razdjelnici
  • Pritisnite gumb Dalje

Uvezi/Pretvori CSV u Excel

  • Pritisnite gumb Zavrลกi

Uvezi/Pretvori CSV u Excel

  • Pritisnite gumb OK
  • Dobit ฤ‡ete sljedeฤ‡e podatke

Uvezi/Pretvori CSV u Excel

Importing Other Delimiter Separated Files

U nekim sluฤajevima moลพda neฤ‡ete dobiti datoteku odvojenu zarezima, to mogu biti kose crte (\), crte (|) ili druge datoteke odvojene graniฤnicima. Pogledajmo kako se s njima nositi.

Ovdje je ogledna datoteka s vrijednostima odvojenim kosom crtom (\) koju moลพete preuzeti.

Preuzmite CSV datoteku odvojenu kosom crtom (\).

  • Otvorite novu radnu knjigu
  • Pritisnite karticu PODACI na vrpci
  • Pritisnite gumb Iz teksta
  • Idite do mape u koju ste preuzeli datoteku i uvezite je
  • Dobit ฤ‡ete sljedeฤ‡i ฤarobnjak za uvoz tekstualne datoteke

Uvezi/Pretvori CSV u Excel

  • Pritisnite gumb Dalje

Uvezi/Pretvori CSV u Excel

  • Sada umjesto odabira razdjelnika zareza, odaberite Ostalo i postavite kosu crtu (\) kao razdjelnik na ploฤi Razdjelnici
  • Zatim kliknite na gumb Dalje.
  • Zatim kliknite gumb Zavrลกi
  • Sada uvezite podatke u postojeฤ‡i radni list

Dobit ฤ‡ete sljedeฤ‡e podatke

Uvezi/Pretvori CSV u Excel

๐Ÿ’ก Savjet: 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.

naฤin Kako Najbolje za
Open directly Double click the file, or File then Open A clean, comma separated file where the default column types are fine
ฤŒarobnjak za uvoz teksta 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

โš ๏ธ Upozorenje: 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.

Pitanja i odgovori

Excel reads a value like 007 as the number 7 and drops the zeros. Import the file with the Text Import Wizard and set that column to Text, so the value is kept exactly as written.

In the Text Import Wizard, choose Delimited, then on the Delimiters panel tick Other and type the character, such as a slash, a pipe, or a semicolon. The preview then splits the values into the correct columns.

Set the File Origin to 65001: Unicode (UTF-8) at the top of the Text Import Wizard. This tells Excel to read the accents and other characters correctly instead of showing garbled text.

Yes. AI features such as Copilot in Excel detect the delimiter, build the Power Query steps to split and clean the columns, and load the result into a table. The user confirms the column types and the output.

Yes. AI assistants scan the imported columns, flag rows with a missing value or a wrong data type, and highlight duplicates. This helps catch problems that a raw CSV hides before the data is used in a report.

Saลพmite ovu objavu uz: