![](/img/trans.png)
[英]With For each loop in Excel VBA how do I reference the cell address within the formula?
[英]Automatically move cell reference over: How can I do this in Excel without manually updating the formula each week?
我有一個銷售跟蹤器電子表格,正在嘗試找出如何創建一個公式,將每周的銷售額乘以零售額。 然而; 單元格參考將需要每周移動1個單元格。 例如: BN=AE4*F4
其中AE4
是上周的銷售額,而F4
是項目的零售。 當我更新下周的報告時,我希望公式讀為BN=AF4*F4
。 如何在Excel中做到這一點而無需每周手動更新公式?
要將F4乘以第4行中的最后一個數字(從左到右讀取),請使用此公式。
=F4*INDEX(4:4, MATCH(1E+99, 4:4))
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.