AutoFilterおよびサブトータルのExcelのマスターのテーブル

2008年4月9日5:23 AMのに掲示される

Microsoft Excelのどの位使用しているあるか。 私はそう考えた。 私達がそれ別のノッチの上の歩んでいるので準備をしなさい。  Excelは強力でしかし頻繁に十分に利用されていない用具である。 私達の多数使用計画およびトラック予算へのそれは毎日、マーケティングデータを分析し、時折重要な事柄をのようなするためにオフィスの3月の狂気のプールを経営しなさい。 複数 オンライン技術はひっくり返る ポストは既に利発で不慣れな機能をのようなカバーしてしまった VLOOKUP そして SUMIF. 今度はそれは別の円形の時間のである 非道なExcelはひっくり返る!

私は、コンサートで説明しようと作る使用されるExcelの2つの特徴を思っている 表の分析 スナップ。 表のデータはデータベースのエキスかCSVファイルから得るものにである。 AutoFilter そしてoft見落とされる サブトータル 機能は、ピーナッツバターおよびチョコレートのような、一緒に使用されるために意味される。  それらは簡単な方法をサブセット、合計、平均、計算、および多くをするために展開表を「コードする」提供する。

Excelのテーブルは次部門によって私達の会社の購入のエキス行う。 私達は典型的な「ヘッダー」の列を11のデータ列に先行させてもらう。 このテーブルについては機能を含まれているI見ることができる: 合計、計算、分および平均。 後でそれらについての詳細。

clip_image002

今度は、主任は入り、必要があるairtimeを広告するちょうど見るマーケティングの人々が購入しどの位、私達が支払っているかどの位。 AutoFilterは私達に全体の列目に見えるようにか細胞含有物に基づいて見えないする力を与える。 サブトータル機能は合計、計算を、最低および平均それに応じて更新する。 すぐにAutoFilterを加える。

Excel AutoFilter

AutoFilterを加えるためには、コラムのラベル(A1を含んでいるヘッダーの列を含む細胞の全体の範囲を、選びなさい: F12)。 それから使用データ-> フィルター-> AutoFilter。 今度はテーブルの各コラムの上のフィルター表示器を見ることができる:

clip_image004

端正な事はこれである: 欄見出しをつければ、AutoFilterはから選ぶためにあなたのためのコラムの価値のドロップダウン・リストを与え結果のための全体のテーブルをろ過する:

clip_image006

テーブルの内容に基づくリストは動的である従って列を加えるか、または既存の価値平均を変えてドロップダウン・リストはまた更新される。 You can show all values (default), select just one value, or create a custom filter based on boolean logic. In this example we need to select the “Airtime” value.

clip_image008

The result is:

clip_image010

AutoFilter acts by making rows visible and invisible. The original eleven data rows are still present, although some are invisible based on the selected filter. A2:F12 is still data range.

We quickly see the two “Airtime” buys in this dataset, and the average price paid is $5000. Use the drop down filters to select all values again, or select a different value, and do it on any number of columns. Depending on your table, some columns will make sense for filtering and others may not.

Excel Subtotals

In this example, the values for Sum, Count, Min, and Average update based on the filter automatically because of the powerful Subtotalfunction. Subtotal operates only on visible rows of data in a range, so it’s great in combination with AutoFilters. Subtotal is also simple to set up.  The syntax for Subtotal is:

=Subtotal(function#, range)

Okay, you do have to know the “function #” which is a pain.  Are you listening MicroSoft? Here is the list of commonly used functions with Subtotal. Others can be accessed by searching Excel Help:

Function # Function Name
101 AVERAGE
102 COUNT
104 MAX
105 MIN
109 SUM

In the example the Sum, Count, Min and Averages are obtained by these respective formulae:

SUM=Subtotal(109,F2:F12)

COUNT=Subtotal(102,F2:F12)

MIN=Subtotal(105,F2:F12)

AVERAGE=Subtotal(101,F2:F12)

Now that you have seen the power of AutoFilter and Subtotal, go give it a shot. After all,  Fantasy-League baseball is just starting.

Pete Kushmeider, Writer and blogger

Technorati Tags: ,

If you enjoyed this post, make sure you subscribe to my RSS feed!

» Filed Under MS Office Tips

Related Posts

One Response to “Master Excel Tables with AutoFilter and Subtotal”

  1. ( joe ) said on :

    Excellent article…it was exactly what I needed to learn to solve a challenge I had.

    Great work!


Please post your comments/suggestions!