Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用VLOOKUP,但使用列偏移量的变量。例如:=VLOOKUP(RC[-1],'Sheet2'!C[-14],1,FALSE)我想-14用命名变量替换 。 谁能在这里指出我正确的方向?
VLOOKUP
=VLOOKUP(RC[-1],'Sheet2'!C[-14],1,FALSE)
-14
您可以使用 OFFSET 工作表函数,例如:=VLOOKUP(RC[-1],OFFSET(Sheet2!C,0,YourNamedVariable),1,FALSE)
=VLOOKUP(RC[-1],OFFSET(Sheet2!C,0,YourNamedVariable),1,FALSE)