Structured References: Absolute and Relative addressing

只愿长相守 提交于 2021-02-05 08:31:22

问题


This is a "weighted average" formula where Q14:Q21 contains the "weights"; Column C is the first column of data, and subsequent columns are D:P

I can use this formula, and fill right. The data columns will change and the "weight" column remain the same.

=SUMPRODUCT(Sheet1!C$14:C$21,Sheet1!$Q$14:$Q$21)/SUM(Sheet1!$Q$14:$Q$21)

I would like to change the data to a "table" so as to be able to use structured references. The "weights" column header is Percent, and the data columns are year numbers starting with 2000.

Is there any way of entering the "Structured Reference" form of the formula, as shown below, in a single cell, and then fill right with only the first column ("2000") changing?

=SUMPRODUCT(Table3[2000],Table3[Percent])/SUM(Table3[Percent])

I've looked at Excel HELP and also tried searching on Google, with no luck.


回答1:


Please try:

=SUMPRODUCT(Table3[2000],Table3[[Percent]:[Percent]])/SUM(Table3[[Percent]:[Percent]])


来源:https://stackoverflow.com/questions/27511276/structured-references-absolute-and-relative-addressing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!