メインコンテンツへスキップ

Excelで数値の列を小数点で整列させる方法は?

次のスクリーンショットに示すように、数値をよりきれいに美しくするために、ワークシートの列の小数点で数値を揃える必要がある場合があります。

doc-align-numbers-1

Excelでは、を使用して数値の列を小数点で整列させることができます。 セルの書式設定 関数。 この記事では、詳細を説明します。

Excelで数値の列を小数点で揃えます


矢印青い右バブル Excelで数値の列を小数点で揃えます

Excelで数値の列を小数点で整列するには、次のようにします。

1。 小数点で整列させたい数値リストを選択します。

2。 右クリックして、 セルの書式設定 コンテキストメニューから、スクリーンショットを参照してください。

doc-align-numbers-1

3。 そして、 セルの書式設定 ダイアログボックスで、をクリックします。 カスタム タブをクリックし、これを入力します 0。???? iタイプ ボックス、スクリーンショットを参照してください:

doc-align-numbers-1

Note? 5進数の数字を表します。これは、最大のXNUMX進数によって異なります。 小数点以下の桁数がXNUMXの場合は、必要に応じてXNUMXつの疑問符を入力するだけです。

4。 次に、をクリックします OK このダイアログを閉じるには、選択したセルの数値が、左、中央、右の配置の小数点に並んでいます。 スクリーンショットを参照してください:

doc-align-numbers-1

Note:データに整数が含まれている場合、整数の後にドットマークが追加されます。

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how do i line up decimals in numbers 519.7 and 4.093.. lol
This comment was minimized by the moderator on the site
Hello, moran,
Select the number cells, and then, you just need to enter 0.??? into the Format Cells dialog box.
Please try, thank you!
This comment was minimized by the moderator on the site
Has anyone found the answer to zylstra's question (how to get rid of the decimal point while keeping the alignment)?
This comment was minimized by the moderator on the site
Yes. I've done this. Although my post keeps getting removed.
This comment was minimized by the moderator on the site
Although not pixel-strict alignment, but almost indistinguishable from that:
Step 1:
Format Cells -> Number -> Custom -> "0.????"
Step 2:
Conditional Format ->
New Rule -> Use a formula -> "=B2=TRUNC(B2)"
Format... -> Number -> Custom -> "0 ________"
Applies to -> "=$B$2:$B$18"

Note 1: Number of '_'s is twice of number of '?'s.
Note 2: Symbol between '0' and '_' is U+2009 THIN SPACE
This comment was minimized by the moderator on the site
Although not pixel-strict alignment, but almost indistinguishable from that:
imgur: Y5DPdfS
Step 1:
Format Cells -> Number -> Custom -> "0.????"
imgur: 94q7vJH
Step 2:
Conditional Format ->
New Rule -> Use a formula -> "=B2=TRUNC(B2)"
imgur: LaTwE2Z
Format... -> Number -> Custom -> "0 ________"
imgur: GOcuE9M
Applies to -> "=$B$2:$B$18"
imgur: 953EWYh

Note 1: Number of '_'s is twice of number of '?'s.
Note 2: Symbol between '0' and '_' is U+2009 THIN SPACE (' ')
This comment was minimized by the moderator on the site
Any way to get rid of the decimal for whole numbers?
This comment was minimized by the moderator on the site
I've been looking for an answer to that question for a good while. I need a way to do this with custom number formatting and haven't found a solution. I don't have to say that often with Excel, but I don't think it's possible.
This comment was minimized by the moderator on the site
use "0.0???", to force a 0 after the decimal. "2." becomes "2.0"
This comment was minimized by the moderator on the site
Doesn't eliminate the decimal point for whole numbers.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations