How do I extend a half dynamic formula? [closed]

丶灬走出姿态 提交于 2019-12-13 07:53:15

问题


Let's say I have 3 numbers in A1 B1 and C1, and I want to calculate the values of their division result in D1, and I want it to be written to A2 B2 and C2. I write in A2 the formula:

A1/D1

And it gives me the right result. But when I extand A2 to B2 and C2, the formule that's being copied to B2 and C2 is:

B1/E1
C1/F1

When what I want is:

B1/D1
C1/D1

Meaning, one variable of the formule (the numerator) is changing according to the row and the other variable of the formula (the denominator) is const. how can I do that?


回答1:


just lock the denominator by putting $ sign like this.

=A1/$D1

This way, when you drag the formula to the right, D1 reference will not change
since it was locked by $ sign placed in front.

If you want to lock D1 when you drag the formula downward, add another $ sign
behind D1 like this.

=A1/$D$1

This will make D1 reference locked by column and by row.

Similarly, if you just want D1 locked by row, remove $ sign in front like this:

=A1/D$1

Hope this helps.



来源:https://stackoverflow.com/questions/19472937/how-do-i-extend-a-half-dynamic-formula

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