想象一下有以下標簽。我想在每個鍵(示例中的房間名稱)的第二個選項卡中總結(比如說平均)。

如何僅獲取按鍵匹配的值?VLOOKUP 只找到一個條目。
uj5u.com熱心網友回復:
嘗試:
=QUERY({A:B};
"select Col1,avg(Col2)
where Col2 is not null
group by Col1
label avg(Col2)''")
更新:
=QUERY({A:B};
"select Col1,avg(Col2)
where Col1 ='"&'2nd tab'!B1&"'
group by Col1
label avg(Col2)''")
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/481371.html
