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

Excelでゼロを無視してデータの範囲を平均化するにはどうすればよいですか?

通常、平均関数は、Excelでゼロを含む範囲の平均を計算するのに役立ちます。 ただし、ここでは、平均関数を適用するときにゼロを除外する必要があります。 平均計算でゼロを無視するにはどうすればよいですか?

式を使用してゼロを無視してデータの範囲を平均化する

Kutools forExcelでゼロを無視したデータ範囲の平均/合計/カウント 良いアイデア3      遊びます


矢印青い右バブル 式を使用してゼロを無視してデータの範囲を平均化する

Excel 2007/2010/2013を使用している場合、この単純なAVERAGEIF関数は、この問題をすばやく簡単に解決するのに役立ちます。

1。 この式を入力してください = AVERAGEIF(B2:B13、 "<> 0") データ以外の空白のセルで、スクリーンショットを参照してください。

ドキュメント平均無視ゼロ1

Note:上記の式では、 B2:B13 ゼロを除外して平均化する範囲データです。必要に応じて変更できます。 範囲内に空白セルがある場合、この数式はデータを平均して空白セルを除外します。

2。 次に、 入力します キーを押すと、ゼロ値を除外した結果が得られます。 スクリーンショットを参照してください:

ドキュメント平均無視ゼロ1

注: この数式はExcel2003では有効になりません。Excel2003を使用している場合は、 合計 & カウンティフ 関数には、次の式を適用してください。 =SUM(B2:B13)/COUNTIF(B2:B13,">0").


矢印青い右バブル Kutools forExcelでゼロを無視したデータ範囲の平均/合計/カウント

ゼロセルを無視して合計/平均/カウントしたい場合は、適用できます Kutools for Excel's 特定のセルを選択 ゼロ以外のセルを選択し、計算結果を表示するユーティリティ ステータスバー.

Kutools for Excel, 以上で 300 便利な機能は、あなたの仕事をより簡単にします。 

無料インストール Kutools for Excel、以下のようにしてください:

1.平均化する範囲を選択し、をクリックします クツール > 選択 > 特定のセルを選択。 スクリーンショットを参照してください:
docは特定のセルを選択します4

2.ポップダイアログで、チェックします セル オプションを選択し、次に ではない 等しい の最初のドロップダウンリストから 特定のタイプ セクションをクリックし、右側のテキストボックスに移動して入力します 0。 スクリーンショットを参照してください:
docは特定のセルを選択します6

3。 クリック Ok、および0より大きいすべてのセルが選択されており、ステータスバーに平均、合計、カウントの結果を表示できます。 スクリーンショットを参照してください:
docは特定のセルを選択します3

ヒント。 の無料トライアルをご希望の場合 特定のセルを選択s関数、 Excel用のKutoolsを無料でダウンロードしてください まず、上記の手順に従って操作を適用します。


矢印青い右バブル平均/カウント/合計データはゼロを無視します

関連記事:

Excelで最大値と最小値なしで平均を計算する方法は?

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

🤖 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 (13)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hey there. The formula works great, thankyou so much, but i have a problem. Sometimes i have in all rows 0, then the formula gives me <>#DIV/0!. Do you have a solution for this? If in all row is 0 then not to give me <>#DIV/0! and the same formula ignores 0 when average. Thankyou!
This comment was minimized by the moderator on the site
How do I find average of filtered cells ignoring blanks and zeros ? The above =AVERAGEIF(B2:B13,"<>0") does not work for filtered cells (drop down) Thanks
This comment was minimized by the moderator on the site
I am wondering wether it is possible to combine subtotal average and not counting zero
does anybody know how?
This comment was minimized by the moderator on the site
How would I make this work with 2 sets of data - current formula is - =AVERAGE(AZ143:AZ293,AZ4:AZ136)
This comment was minimized by the moderator on the site
Hi, Anthony, if you want to average two or more ranges of data, just select the ranges by hold ctrl key, then give them a range name in the Name box which besides formula bar, then use the formula =averafe(rangename), rangename is the name you give the ranges.
This comment was minimized by the moderator on the site
Hi Team,

I am wondering what formula to use if I had say 6 cells of data. Two of the cells contained a '0' (Zero). I wanted to trim the lowest and the highest values to workout the average, however I only want one zero to be part of the average.
This comment was minimized by the moderator on the site
Data in C3 to C7:

=IF(COUNTIF(C2:C7,0)>0,(MAX(C2:C7)+SMALL(C2:C7,COUNTIF(C2:C7,0)+1))/3,MAX(C2:C7)+SMALL(C2:C7,COUNTIF(C2:C7,0)+1))
This comment was minimized by the moderator on the site
Sorry eddy, I have not find a solution about your question.
This comment was minimized by the moderator on the site
Hi Team,
I am wondering what formula to use if I had say 6 cells of data. Two of the cells contained a '0' (Zero). I wanted to trim the lowest and the highest values to workout the average, however I only want one zero to not be part of the average.
This comment was minimized by the moderator on the site
thank you, I'm just a retiree keeping track of my solar production and electricity usage, now I don't have to wait until the end of the month for the averages to be correct
This comment was minimized by the moderator on the site
A MILLION THANK YOUS! I'm so glad someone figured this out.
This comment was minimized by the moderator on the site
Appreciate for your approbation.
This comment was minimized by the moderator on the site
I have been scratching my head trying to figure out how to find an average ignoring zeros. Here is where it is and it's so easy. THANK YOU!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations