技巧
- 公式中有數組需要按 ctrl+ shift +enter結束
- 選則公式一段內容-> F9 輸出結果
- 公式中的數組需要用{}括起來
函數
vlookup
- 介紹
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup) : 縱向查找函數, - 參數
- Lookup_value:爲需要在數據表第一列中進行查找的數值
- Table_array:爲需要在其中查找數據的數據表
- col_index_num:爲 1 時,返回 table_array 第一列的數值,爲 2 時,返回 table_array 第二列與Lookup_value對應的數值,不能大於或者小於Table_array的列
- 默認爲1, 0:精確查找,1:模糊查找
choose
-
介紹
CHOOSE(index_num,value1,value2,…): 根據index_num,返回 value1… -
參數
- index_num:選則的索引
- valuex: 值或者區域都行,最多254個
- 舉例:
choose({2,1}, E:E, F:F)
: 返回 F列和E列,但是F在前
subtotal
當excel篩選之後:
- 如果求和用sum的話,求的數據的和 包括隱藏的(篩選出來 A9 A11, A10在中間會被隱藏)
- 如果使用subtotal函數,
subtotal(9, 範圍)
得到的就是篩選出來的結果的和。