Transcript
Page 1: CSV Import Guide - GLEIF...2018/03/01  · 1. Select CSV. 2. Click Import. 4.2. Select data (file) formats The next step may be different, depending on the operating system, application,

Public

CSVImportGuideFINALV1.12018-03-01

ThisshortguidedemonstrateshowtoprepareandopenaCSVdatafileusingaspreadsheetapplicationsuchasExcel.

Itdoesnotcoverallpossiblewaystoopenfiles.Itisintendedtodrawattentiontoproblemsthatcanbeavoidedwhenworkingwithdatafilesinthisformat.

Page 2: CSV Import Guide - GLEIF...2018/03/01  · 1. Select CSV. 2. Click Import. 4.2. Select data (file) formats The next step may be different, depending on the operating system, application,

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page2of7

Pleasenote:

GLEIFdoesnotprovidetoolsupport,sowearenotabletogivedetailedadviceonyourorganization’sparticularsystemsorworkflows.Theexampleshereareforillustrationandyoumayneedtoadapttoyourlocaloperatingsystemand/orapplication.WerecommendconsultingyourITteamforanycomplextasks.

1. Downloadfile

FirstdownloadthefilefromtheGLEIF.orgwebsite.

Right-clickonthefileandselect“SaveAs…”tosavethefilelocally(pleasedonotopenityet).

Thedatafilehasthefilenameextension“.csv”.

Donotdoubleclickthedatafileimmediately.

2. OpenExcel

Oncethedatafilehasbeendownloaded,donotdirectlyopenit.

§ Instead,findyourspreadsheetapplication(e.g.Excel)andopenit.§ Createanew(blank)workbook:

Page 3: CSV Import Guide - GLEIF...2018/03/01  · 1. Select CSV. 2. Click Import. 4.2. Select data (file) formats The next step may be different, depending on the operating system, application,

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page3of7

WithsomeversionsofExcelyoumayneedtodothisfromamenu,suchas:

3. Setupimport

Onceanewworkbookisopen,selectthisoptionfromtheFilemenu:

Import…

Adialogwillnowbegin,guidingyouthroughthestepsofimportingafile.

Youneedtorepeatthestepsinsections2untiltheend,foreachfileyouwishtouse.

Page 4: CSV Import Guide - GLEIF...2018/03/01  · 1. Select CSV. 2. Click Import. 4.2. Select data (file) formats The next step may be different, depending on the operating system, application,

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page4of7

4. Importdialog

4.1. Selectfiletype

1. SelectCSV.2. ClickImport.

4.2. Selectdata(file)formats

Thenextstepmaybedifferent,dependingontheoperatingsystem,application,andeventheversionofExcel.

Iftheapplicationsetsanyofthefollowingvaluescorrectly,pleasedonotchangethem:

§ ThedatamustberecognizedasDelimited.§ Theimportmuststartatrow:1.§ Themostimportantsettingmaynotyetbedetected:

Unicode(UTF–8)

Pleaseseethenextpageforanexample.

MakesurethatallsettingsthatofferUnicodeand/orUTF–8aresettothisvalueonly.

Page 5: CSV Import Guide - GLEIF...2018/03/01  · 1. Select CSV. 2. Click Import. 4.2. Select data (file) formats The next step may be different, depending on the operating system, application,

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page5of7

DonotclickFinish.InsteadalwaysclickNextuntilthefinalstepiscomplete.

4.3. Setdelimitersandqualifiers

TheCSVfilecontainstwotypesofspecialformattingcharactersthattellyourapplicationwheretosplitthetextintocolumnsandrows:

§ Thedelimitersarecommas(,).§ Thequalifiersaredoublequotationmarks(“).

Page 6: CSV Import Guide - GLEIF...2018/03/01  · 1. Select CSV. 2. Click Import. 4.2. Select data (file) formats The next step may be different, depending on the operating system, application,

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page6of7

Ifyourapplicationdetectstheseautomaticallypleasedonotchangethevalues;simplyclickNext.

Ifanyadditionalvalues(e.g.“Tab”)areselected,pleasede-selectthem.

OnlyComma(,)forDelimitersanddoublequotationmarks(“)forTextqualifierarecorrect.

4.4. Setdata(content)format

ThefinalstepistosetdatacontentformatsthatareusedbyExceltodisplayandinsomecases,process,thedata.

ThisisessentialforfilescontainingLEIs.

§ SettheLEIcolumntoTextasshowninthenextscreenshot.§ The“General”typecancauseproblemswithsomelongsequencesofnumbers.

Page 7: CSV Import Guide - GLEIF...2018/03/01  · 1. Select CSV. 2. Click Import. 4.2. Select data (file) formats The next step may be different, depending on the operating system, application,

CSVImportGuide

Public

Author:GLEIFIT|Version:FINALV1.1|2018-03-01 Page7of7

§

OnlyclickFinishwhenallofthestepshavebeenchecked.

Pleasenote:

§ Whenworkingwithverylargefiles,downloading,openingandmanipulatingthefilemaybeinterruptedsometimesduetoe.g.lackofsufficientmemory.

§ Forlargefilesthiscouldbeimpracticalandaspecializedtoole.g.adedicatedCSVeditororparser,isneeded.

§ Fordetailedtechnicalassistanceusingyourapplication,pleaseconsulttheofficialapplicationdocumentation.Forexample,detailedinformationonimportingCSVfilestoMicrosoftExcelcanbefoundat:

https://support.office.com/en-us/article/Import-or-export-text-txt-or-csv-files-5250ac4c-663c-47ce-937b-339e391393ba


Recommended