问题
I have a document with 2 sheets: sheet1
and sheet2
. In sheet1
, in column A
I have =RANDBETWEEN(1,100)
values. On the second column B
, I want to reference values from column A
from sheet2
, however using the indices pointed out in column A
from sheet1
.
I tried with the following command, =sheet2!$A$(sheet1!A1)
but with no success.
Can you please recommend me a solution to this problem?
回答1:
If your set up is thus (not entirely clear on this from your question):
On Sheet1
Formula in A1 =RANDBETWEEN(1,10)
Formula in B1 =INDEX(Sheet2!A:A,A1)
On Sheet2
来源:https://stackoverflow.com/questions/56579974/excel-how-to-reference-a-value-from-another-sheet-with-a-reference-from-curren