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

Excelで数式の小数点以下の桁数を制限するにはどうすればよいですか?

たとえば、Excelで範囲を合計し、小数点以下XNUMX桁の合計値を取得するとします。 [セルの書式設定]ダイアログボックスで、この合計値を小数点以下XNUMX桁に書式設定することを考えるかもしれません。 実際には、数式の小数点以下の桁数を直接制限できます。 この記事では、[セルの書式設定]コマンドを使用した小数点以下の桁数の制限、およびExcelの丸め数式による小数点以下の桁数の制限について説明しています。

Excelの[セルの書式設定]コマンドで小数点以下の桁数を制限する

通常、セルをフォーマットして、Excelの小数点以下の桁数を簡単に制限できます。

1。 小数点以下の桁数を制限するセルを選択します。

2。 選択したセルを右クリックして、 セルの書式設定 右クリックメニューから。

3。 次の[セルの書式設定]ダイアログボックスで、[セルの書式設定]に移動します。 タブをクリックして、 セクションに カテゴリー ボックスに入力し、 小数位 ボックス。
たとえば、選択したセルの小数点以下1桁のみを制限する場合は、次のように入力します。 1小数位 ボックス。 以下のスクリーンショットを参照してください。

4。 クリック OK [セルの書式設定]ダイアログボックスで。 次に、選択したセルのすべての小数点以下が小数点以下XNUMX桁に変更されます。

注: セルを選択した後、クリックすることができます XNUMX進数を増やす (Comma Separated Values) ボタンをクリックして、各々のジョブ実行の詳細(開始/停止時間、変数値など)のCSVファイルをダウンロードします。  or XNUMX進数を減らす (Comma Separated Values) ボタンをクリックして、各々のジョブ実行の詳細(開始/停止時間、変数値など)のCSVファイルをダウンロードします。  直接 グループを ホーム タブで小数点以下の桁数を変更します。

Excelの複数の数式の小数点以下の桁数を簡単に制限します

一般に、= Round(original_formula、num_digits)を使用すると、XNUMXつの数式の小数点以下の桁数を簡単に制限できます。 ただし、複数の数式をXNUMXつずつ手動で変更するのは、非常に面倒で時間がかかります。 ここでは、Kutools for Excelの操作機能を使用して、複数の数式の小数点以下の桁数を簡単に制限できます。


Kutools for Excel - 300 以上の必須ツールで Excel を強化します。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 今すぐ入手

Excelの数式の小数点以下の桁数を制限する

一連の数値の合計を計算し、数式でこの合計値の小数点以下の桁数を制限したい場合、Excelでどのように計算できますか? Round関数を試してください。

基本的な丸め式の構文は次のとおりです。

= ROUND(number、num_digits)

また、ラウンド関数と他の数式を組み合わせる場合は、数式の構文を次のように変更する必要があります。

= Round(original_formula、num_digits)

この場合、合計値の小数点以下XNUMX桁を制限するため、次の式を適用できます。

= ROUND(SUM(B2:B11)、1)


複数の数式の小数点以下の桁数を一括で制限する

あなたが持っている場合 Kutools for Excel インストールすると、適用できます 操作 Excelで丸めを設定するなど、入力した複数の数式を一括で変更する機能。 次のようにしてください。

Kutools for Excel-Excel用の300以上の便利なツールが含まれています。 30日間のフル機能の無料トライアル、クレジットカードは必要ありません! 今すぐ入手

1。 小数点以下の桁数を制限する必要がある数式セルを選択し、をクリックします クツール > その他 > 操作.

2。 [操作ツール]ダイアログで、クリックして強調表示してください 丸め セクションに 操作 リストボックスに、小数点以下の桁数を入力します オペランド セクションを確認し、 数式を作成する オプションを選択します。

3。 クリック Ok

これで、すべての数式セルが指定された小数点以下の桁数にまとめて丸められていることがわかります。 スクリーンショットを参照してください:

先端:複数の数式セルをまとめて切り捨てまたは切り上げる必要がある場合は、次のように設定できます。[操作ツール]ダイアログで、 (1) select カスタム [操作]リストボックスで、 (2) type = ROUNDUP(?、2) or = ROUNDDOWN(?、2) セクションに カスタム セクション、および (3) チェックする 数式を作成する オプション。 スクリーンショットを参照してください:


Excelの複数の数式の小数点以下の桁数を簡単に制限します

通常、小数点以下の桁数はセルの小数点以下の桁数を減らすことができますが、数式バーに表示される実際の値はまったく変わりません。 Kutools for Excelさん ラウンド ユーティリティを使用すると、値を指定した小数点以下の桁数まで簡単に切り上げることができます。

Kutools for Excel-Excel用の300以上の便利なツールが含まれています。 60日間のフル機能の無料トライアル、クレジットカードは必要ありません! 今すぐ入手

このメソッドは、数式セルを指定された小数点以下の桁数にまとめて丸めます。 ただし、これらの数式セルから数式が削除され、丸め結果のみが残ります。


デモ:Excelの数式の小数点以下の桁数を制限する

Kutools for Excel: 300 を超える便利なツールをすぐに利用できます。 機能制限なしの 30 日間の無料トライアルを今すぐ始めてください。 今すぐダウンロード!

関連記事:

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

🤖 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 (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
this cnu
am using excel fo milk calculations

in 1 crate having 12/lit of milk.
if customar take 12/lit in total it shows 1 using,(=number1/number2)
if customar take 24/ in total it shows 2 using,(=number1/number2)
if customar take 36/ total it shows 3using,(=number1/number2)
but some customar take 15 or 22 or 35

if customar take 15 in total it shows 1.3
if customar take 22 in total it shows 1.10
if customar take35 in total it shows 2.11

i need formula for above calculation
This comment was minimized by the moderator on the site
try this:
=roundup(number1/number2,0)
This comment was minimized by the moderator on the site
'95,954,691.3389700060
When a put this data on excel, and quit the ' to turn it a number, excel, trucante the number after 5 decimal. The new number is 95,954,691.33897, but I need 10 decimals. How to resolve this?
This comment was minimized by the moderator on the site
Try this:

=TEXT(95954691.3389100060,"00,000,000.0000000000")
This comment was minimized by the moderator on the site
Ok, here is one I really need help with since it would ease my job a lot. I have a table where i need most of my cells to have 2 decimals. One of the columns (lets say C) has to be A multiplied by B, but with a little text following the result of the multiplication, hence i gave it a:
A*B & "text" formula
My problem is that if result of A*B is 3 or 3.1 it will appear just like that: "3 text" or "3.1 text", but i really need it as "3.00 text"/ "3.10text".
Any tips?
This comment was minimized by the moderator on the site
Try this:

=TEXT(A*B,"0.00")&" text"
This comment was minimized by the moderator on the site
I want to set a limit whereas 0.60 is the threshold if the decimal reaches 0.60 it will automatically count as 1 and reset into decimal. The decimal represent the minutes and the whole number represent the hours. I'm presenting my data as numbers instead of timevalue. Hope anyone can help
This comment was minimized by the moderator on the site
Unfortunately it is not working if you concatenate:

I want to combine two cells A and B with many digits to A (B) with onlytwo digits.

I tried like that:
=CONCATENATE((ROUND(C4,1))," (",(Round(D4,1)),")")

It doesn't work and shows only the formula.
Can anyone help?
This comment was minimized by the moderator on the site
Hi yvonne Fabian,
Your formula works well in my Excel 2016.
This comment was minimized by the moderator on the site
how to deal with two decimal points e.g. 138.4622.472, 137.1416.113 etc. any way to get rid of .472 and .113 and so on
This comment was minimized by the moderator on the site
John, to round to 0 decimals, try use ROUND(CELL,0) and to round DOWN to the number, use INT (integer).
ROUND(12.5,0) = 13 ; INT(12.5) = 12
for the same but not to whole number but e.g. tenths, first multiply the baste number by 10, then ROUND/INT and then devide back by ten.
This comment was minimized by the moderator on the site
Here we are inserting the values in one cell(A1) and applying the formula in another cell(D1) (for example) and in that cell(D1) only we are getting the output , but I want to apply the formula in cell(A1) only so I can get the output in that cell (A1).
If I am doing this then I am not getting any output in the cell (A1).
Please help me to achieve this.
This comment was minimized by the moderator on the site
Hi Narsingh,
Kutools for Excel provides an Operation tools which can custom formula to selected cells. This feature may solve your problem.
This comment was minimized by the moderator on the site
Here we are inserting the values in one cell(A1) and applying the formula in another cell(D1) (for example) and in that cell(D1) only we are getting the output , but I want to apply the formula in cell(A1) only so I can get the output in that cell (A1).
If I am doing this then I am not getting any output in the cell (A1).
Please help me to achieve this.
This comment was minimized by the moderator on the site
thanks, this soo helpfull :-)
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations