การแยกเป็นไฟล์ที่คั่นด้วยแท็บ
ประเด็นสำคัญ
- เลือก
- บันทึก
The data contains commas, so with CSV the columns shift. Handy then is "TSV", which separates by tabs. In Split an Excel File by Sheet you can choose "TSV (tab-separated)".
ขั้นตอน
- Choose an .xlsx with "Choose an Excel file".
- Choose "TSV (tab-separated)" under "Save format".
- Press "Split by sheet and save as ZIP" to save.
Columns are separated by tabs instead of commas.
Difference between CSV and TSV
- CSV: separated by commas. The most widely used.
- TSV: separated by tabs. Less prone to shifting even if text contains commas.
When TSV suits
- Lots of text containing commas, like addresses and descriptions
- Wanting to handle text directly as data
- The destination assumes TSV
Cautions when using TSV
- Check whether the destination supports TSV
- Tabs within text can cause shifting
- In Excel, opening TSV may require specifying the delimiter
When pasting into a spreadsheet
Copying TSV content and pasting it into a spreadsheet naturally puts the tab-separated columns into cells.
เหมาะกับ
- Handling address data containing commas
- Pasting a table straight into a spreadsheet
ตัวอย่าง
Product descriptions had many commas and the columns shifted in CSV. Splitting as TSV kept the columns aligned and it imported into the system.
Common stumbling blocks
- The destination doesn't support TSV: split again as CSV.
- Tabs are in the text: replace tabs beforehand.
Frequently asked questions
What is the extension of TSV?
.tsv. It can be opened in Notepad and the like.
สรุป
TSV for data containing commas. Check the destination's support before choosing.
ใช้ “แยกไฟล์ Excel ตามชีต” (ฟรี)เครื่องมือที่ใช้คู่กันได้ดี
- แปลง Excel เป็น CSV หรือ JSON: แปลงชีต Excel เป็น CSV, TSV หรือ JSON
- แปลง CSV เป็น Excel (.xlsx): แปลง CSV เป็นไฟล์ Excel (.xlsx)
- แปลงสูตร Excel เป็นค่า: แทนที่สูตร Excel ด้วยค่าของสูตร
หากคู่มือนี้เป็นประโยชน์ ทิปเล็ก ๆ น้อย ๆ จะเป็นกำลังใจอย่างมาก
ส่งทิป (¥300)ส่งของขวัญ (Amazon wishlist)