CSV to XLSX with quotes and a leading zero
Du skriver inn
- Fil
- items.csv
- Innhold
- name,qty,note Apple,3,"red, sweet" Pear,007,"say ""hi"""
Du får
- Fil
- items.xlsx
- Rader
- name; qty; note; Apple; 3; red, sweet; Pear; 007; say "hi"
- Tallceller
- 3 is stored as a number; 007 stays text
The comma inside quotes stays in one cell, and the doubled quote becomes a single quote. A value like 3 is saved as a number, but 007 has a leading zero, so it is kept as text. Worked out by running the tool's own conversion code, not through the file picker.
Ikke kjørt med verktøyet. Se på dette som en illustrasjon.