[英]Excel formula to find reference used by other cell
Is there a way to find out the address of the cell being referenced in another cell in excel? 有没有办法找出excel中另一个单元格中引用的单元格的地址?
Eg cell C1 contains formula =max(A:A) and returns a value of 10 which is actually referenced to cell A10. 例如,单元格C1包含公式= max(A:A)并返回值10,该值实际引用单元格A10。 Can I use a formula in cell B that returns 'A10'? 我可以在单元格B中使用返回“ A10”的公式吗?
And no, I don't want to use VBA at all. 不,我根本不想使用VBA。
Assuming that your entries are in Cells A1:A7, you can do it this way ... 假设您输入的内容位于单元格A1:A7中,则可以通过以下方式进行操作...
In Cell B1 , the formula =MAX(A1:A7) and 在单元格B1中 ,公式= MAX(A1:A7)和
in Cell B2 , the cell location of the maximum number in the range (shown in B1) is given by the formula 在单元格B2中 ,该范围内最大数目的单元格位置(如B1所示)由公式给出
=CELL("address",INDEX(A1:A7,MATCH(MAX(A1:A7),A1:A7,0))) = CELL(“地址”,INDEX(A1:A7,MATCH(MAX(A1:A7),A1:A7,0)))
OR 要么
=ADDRESS(MATCH(MAX(A1:A7),$A$1:A7,0),1) =地址(MATCH(MAX(A1:A7),$ A $ 1:A7,0),1)
Mark as answer if it helps. 如果有帮助,请标记为答案。
Managed to find the solution: 设法找到解决方案:
Similar to Kyle's formula, but instead we use match with multiple criteria to be more specific eg =ADDRESS(MATCH(MAX(A1:A7)&"A",$A$1:A7&$B$1:$B$7,0),1) 与Kyle的公式类似,但是我们使用多个条件匹配来更具体,例如= ADDRESS(MATCH(MAX(A1:A7)&“ A”,$ A $ 1:A7&$ B $ 1:$ B $ 7,0), 1)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.