Tách thành các tệp phân tách bằng tab
Điểm chính
- Chọn
- Lưu
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)".
Các bước
- 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.
Phù hợp với
- Handling address data containing commas
- Pasting a table straight into a spreadsheet
Ví dụ
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.
Tóm tắt
TSV for data containing commas. Check the destination's support before choosing.
Dùng “Tách tệp Excel theo từng trang tính” (miễn phí)Công cụ hay dùng cùng
- Chuyển Excel sang CSV hoặc JSON: Chuyển một trang tính Excel sang CSV, TSV hoặc JSON.
- Chuyển CSV sang Excel (.xlsx): Chuyển CSV thành tệp Excel (.xlsx).
- Chuyển công thức Excel thành giá trị: Thay công thức Excel bằng giá trị của chúng.
Nếu hướng dẫn này hữu ích, một khoản ủng hộ nhỏ sẽ là niềm động viên lớn.
Gửi tiền ủng hộ (¥300)Tặng quà (danh sách mong muốn Amazon)