我可以在 Excel 07 中将结构化引用设置为绝对吗?
我有一个表“A”,有 2 列“Foo”和“Bar”。 我有一个带有结构化参考 A[Foo] 的公式。 当我水平填充此公式时,我希望引用保持 A[Foo],但现在,在第二列中,引用变为 A[Bar]。 有没有办法使这个结构化引用绝对化?
如果不支持的话,这将是令人震惊的。
公式示例:
=A[Foo]
水平拖动该公式,如果表格有多列,则 Foo 会发生变化
I have a table "A" with 2 columns "Foo" and "Bar". I have a formula with the structured reference A[Foo]. When I fill this formula horizontally I want the reference to stay A[Foo] but now, in the second column, the reference turns to A[Bar]. Is there a way to make this structured reference absolute?
It'd be shocking that this isn't supported if not.
Example Formula:
=A[Foo]
Drag that horizontally and Foo changes if the table has multiple columns
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
您可以通过复制对列的引用来使引用成为绝对引用,就好像它是一个范围一样。 如下所示:
A[[Foo]:[Foo]]
将 A[[Foo]:[Foo]] 放入公式中并拖动。 该引用将保留在 [Foo] 列中。 请注意,您必须拖动公式。 复制/粘贴不起作用。
如果您想要对同一表格同一行中的单元格进行绝对引用,这也适用。 假设公式位于名为“A”的表中,以下命令会将单元格锚定在公式的同一行中。
A[@[Foo]:[Foo]]
我的网站上有一篇关于这个问题的文章和视频,我试图在其中清楚地解释它。 :)
http://www.excelcampus.com/tips/absolute-formula-references -excel-结构化表/
You can make the reference absolute by duplicating the reference to column as if it were a range. Looks like the following:
A[[Foo]:[Foo]]
Put A[[Foo]:[Foo]] in your formula and drag across. The reference will remain on the [Foo] column. Note, you have to drag the formula. Copy/paste won't work.
This also works if you want an absolute reference on a cell in the same row of the same table. Assuming the formula is in the Table named "A", the following will anchor the cell in the same row of the formula.
A[@[Foo]:[Foo]]
There is an article and video on my site about this issue where I attempt to explain it clearly. :)
http://www.excelcampus.com/tips/absolute-formula-references-excel-structured-table/
复制和拖动之间是有区别的。 拖动也称为“填充”公式。 在 微软的支持网站你会发现以下解释:
所以这基本上意味着您看到的行为是设计使然的。 如果您希望引用是绝对的,您应该复制公式而不是拖动/“填充”它。
there is a difference between copying and dragging. Dragging is also called "filling" formulas. On Microsoft's support website you will find the following explanation:
So it basically means that the behavior you see is by design. If you want the reference to be absolute you should copy the formula and not drag/"fill" it.
我也无法使 Control+
drag
想法发挥作用。 然而,通过选择原始单元格和要填充的单元格,并使用 Control+R,向右填充,快捷方式似乎确实可以复制,而无需更改跨列的结构化引用。I couldn't make the Control+
drag
idea work either. However, by selecting the original cell and the ones to be filled and using the Control+R, fill right, shortcut did seem to copy without changing the structured references across columns.看来您无法将结构化引用(.ie - A[Foo])设为绝对。 如果您想在公式中使用绝对引用,则可以使用填充句柄,请使用绝对引用的旧方法($A$2 或 $A2)
示例:
表名称:DiscountPricing
请参阅了解更多信息:
http://www. Technicalcommunicationcenter.com/2011/05/31/how-to-use-structed-references-in-ms-excel/
It appears you cannot make a structured reference (.ie - A[Foo]) absolute. If you want to use absolute references in your formula, so you can use the fill handle, use the old method of absolute reference ($A$2 or $A2)
Example:
Table Name: DiscountPricing
See for additional info:
http://www.technicalcommunicationcenter.com/2011/05/31/how-to-use-structured-references-in-ms-excel/
尝试使用间接函数插入表名称,例如;
在您的情况下,
INDIRECT("A[Foo]")
现在您可以水平拖动它,并且列引用保持静态!
Try inserting the Table name with an INDIRECT function like;
In your Case,
INDIRECT("A[Foo]")
Now you can drag it horizontally and the column reference stays static !!
似乎如果您在复制公式时按住 Ctrl,它将保持静态/绝对。
http://office.microsoft.com/en-us/excel/HA101556861033。 ASPX
It seems that if you hold down Ctrl while copying the formulas, it will remain static/absolute.
http://office.microsoft.com/en-us/excel/HA101556861033.aspx
听起来你仍在拖动/填充,瞄准单元格的底部,而不是角落。
罗斯
sounds like your still dragging/filling, aim for the bottom of the cell, not the corner.
Ross