我在Excel中使用OFFSET時有問題。例如,我有一個表格,其值隨年份的不同而有所不同。 然後,我有一張表,其中一些值按年/月變化。在Excel的多行上使用SUMPRODUCT和OFFSET
我想例如寫式 = SUMPRODUCT((E2:E37)* OFFSET(A1,C2:C37,1),E2:E37) ,但它返回#VALUE!
總之,我想在C2中使用一個值的數組:C37即{1,1,1,1,1,1,1,1,1,1,1,1,2,2, 2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3}以獲得陣列{0.03 ,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.03,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.04,0.05,0.05 ,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,0.05,},然後將此數組用於SUMPRODUCT函數。
有人可以幫我解決#VALUE!問題?
提前致謝!
在你的問題的公式似乎是利用從圖像表不同列? –
不要太早 - 這實際上是一個非常有趣的問題。見http://www.pcreview.co.uk/threads/array-formula-use-of-offset-function-with-array-argument.1753122/ –