简体   繁体   English

尝试在Excel中动态填充单元格引用

[英]Trying to fill a cell reference dynamically within excel

I currently have a function that I am trying to apply individually to each row of a very large column of data. 我目前有一个函数,试图将其分别应用于非常大的数据列的每一行。 The data set is too large to feasibly drag the selection down to increment the cell reference so what I am attempting is to paste the same function into all the appropriate adjacent cells and have the cell reference populate in the function dynamically. 数据集太大而无法将选择向下拖动以增加单元格引用,因此我正在尝试将相同的函数粘贴到所有适当的相邻单元格中,并使该单元格引用动态填充到函数中。

I thought I could do it by using the INDIRECT function by using INDIRECT("A"+ROW()) however this is throwing a !#Value error. 我以为可以通过使用INDIRECT("A"+ROW())来使用INDIRECT函数来做到这一点,但这会引发!#Value错误。

Select your formula cell and double-click on the little black square at the lower right hand corner: 选择您的公式单元格,然后双击右下角的黑色小方块: 在此处输入图片说明

This will repeat the formula into each of the rows below (as long as there is data in the adjacent cells). 这会将公式重复到下面的每一行中(只要相邻单元格中有数据)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM