大師擅長表以AutoFilter和小結

張貼在2008年4月9日在5:23上午

Microsoft Excel是多少您使用? 我如此認為。 因為我們跨步它另一個山谷,準備好。  擅長是一個強有力,但經常利用不足的工具。 多數人的我們用途它每天對計劃和軌道預算,分析營銷數據,并且偶爾地做更加重要的事例如處理辦公室3月瘋狂水池。 數 網上技術技巧 崗位已經包括聰明,但不熟悉的作用像 VLOOKUP 并且 SUMIF. 現在是時間為另一個圓 粗暴擅長技巧!

我說明二擅長,用於音樂會,做的特點 表格分析 一個短冷期。 表格數據是什麼您得到從數據庫萃取物或CSV文件。 AutoFilter 并且經常俯視 小結 被認為一起使用作用,像花生醬和巧克力。  他們提供一個容易的方法「編碼」報表做子集、總和、平均,計數和更多。

如下擅長桌是我們的公司的購買萃取物由部門。 我們安排典型的「倒栽跳水」列,由11數據列跟隨。 您能為這張桌看作用包括的I : 總和、計數、分鐘和平均。 更多關於以後他們。

clip_image002

現在,上司進來并且需要看給的多少airtime做廣告營銷人民購買,并且多少我們支付。 AutoFilter給我們力量使整個根據細胞內含物的列可看見或無形。 小結作用相應地更新總和,計數,極小和平均。 我們迅速增加AutoFilter。

擅長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!