必要な列だけを取り出す
この記事のポイント
- CSVを選ぶ
- 「列を取り出す」を選ぶ
- 列の番号を入れる
CSVを結合・分割する で、名前と住所だけなど、必要な列だけを残せます。
手順
- CSVを選ぶ
- 「列を取り出す」を選ぶ
- 「1,3,5-7」のように、取り出す列の番号を入れて保存する
列の番号は、左から数えます(1が一番左)。
CSVを結合・分割・列抜き出しを使う(無料)
あわせて使えるツール
- CSVとJSONを相互変換する:CSVとJSONを、すぐに相互変換します。
- CSVをExcelファイルにする:CSVを、Excelで開ける .xlsx ファイルにします。
- 文字コードを変換する(文字化けを直す):Shift_JIS・UTF-8・EUC-JPなどの文字コードを変換し、文字化けを直します。
同じツールの、ほかの解説
Keeping Only the Columns You Need
Key points
- Choose the CSV
- Choose "Pick columns"
- Enter the column numbers
With Merge and Split CSV Files you can keep only the columns you need, such as name and address.
Steps
- Choose the CSV
- Choose "Pick columns"
- Enter numbers like "1,3,5-7" and save
Columns are counted from the left (1 is the leftmost).
Use "Merge, Split and Pick Columns from CSV" (free)
Tools that go well with this
- Convert CSV and JSON: Convert between CSV and JSON instantly.
- Convert CSV to Excel (.xlsx): Convert a CSV to an Excel (.xlsx) file.
- Convert Text Encoding (Fix Garbled Text): Convert text files between Shift_JIS, UTF-8, EUC-JP and more to fix garbled text.