csv import guide - gleif · 2020-02-13 · csv import guide final v1.1 2018-03-01 this short guide...

7
Public CSV Import Guide FINAL V1.1 2018-03-01 This short guide demonstrates how to prepare and open a CSV data file using a spreadsheet application such as Excel. It does not cover all possible ways to open files. It is intended to draw attention to problems that can be avoided when working with data files in this format.

Upload: others

Post on 11-Jun-2020

18 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSV Import Guide - GLEIF · 2020-02-13 · CSV Import Guide FINAL V1.1 2018-03-01 This short guide demonstrates how to prepare and open a CSV data file using a spreadsheet application

Public

CSVImportGuideFINALV1.12018-03-01

ThisshortguidedemonstrateshowtoprepareandopenaCSVdatafileusingaspreadsheetapplicationsuchasExcel.

Itdoesnotcoverallpossiblewaystoopenfiles.Itisintendedtodrawattentiontoproblemsthatcanbeavoidedwhenworkingwithdatafilesinthisformat.

Page 2: CSV Import Guide - GLEIF · 2020-02-13 · CSV Import Guide FINAL V1.1 2018-03-01 This short guide demonstrates how to prepare and open a CSV data file using a spreadsheet 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 · 2020-02-13 · CSV Import Guide FINAL V1.1 2018-03-01 This short guide demonstrates how to prepare and open a CSV data file using a spreadsheet 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 · 2020-02-13 · CSV Import Guide FINAL V1.1 2018-03-01 This short guide demonstrates how to prepare and open a CSV data file using a spreadsheet 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 · 2020-02-13 · CSV Import Guide FINAL V1.1 2018-03-01 This short guide demonstrates how to prepare and open a CSV data file using a spreadsheet 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 · 2020-02-13 · CSV Import Guide FINAL V1.1 2018-03-01 This short guide demonstrates how to prepare and open a CSV data file using a spreadsheet 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 · 2020-02-13 · CSV Import Guide FINAL V1.1 2018-03-01 This short guide demonstrates how to prepare and open a CSV data file using a spreadsheet 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