0埋めで桁をそろえる
この記事のポイント
- セルを入れる
- 000000を選ぶ
- コピーする
TEXT関数の式 の000000を選ぶと、数字を6桁の0埋めにできます。
手順
- セルを入れる
- 000000を選ぶ
- コピーする
桁数は、表示形式の0の数で決まります。
TEXT関数の式を作る(表示形式)を使う(無料)
あわせて使えるツール
- Excel シリアル値 日付変換:Excelのシリアル値と日付を変換します。
- VLOOKUP・XLOOKUPの式を作る:VLOOKUPとXLOOKUPの式を作ります。
- Excelの文字の余分なスペース・見えない文字を取る:余分なスペースや見えない文字を取り除きます。
同じツールの、ほかの解説
Padding with Leading Zeros
Key points
- Enter the cell
- Choose 000000
- Copy it
Choosing 000000 in TEXT Formula Builder pads a number to six digits.
Steps
- Enter the cell
- Choose 000000
- Copy it
The number of digits follows the number of zeros in the format.
Use "Build an Excel TEXT Formula" (free)
Tools that go well with this
- Excel Serial Number and Date Converter: Convert Excel serial numbers and dates.
- Build a VLOOKUP or XLOOKUP Formula: Build VLOOKUP and XLOOKUP formulas.
- Remove Extra Spaces and Invisible Characters from Excel Text: Remove extra spaces and invisible characters.