Excel structured reference table syntax

前端 未结 6 1460
一整个雨季
一整个雨季 2020-12-16 01:35

I try to avoid using Excel too much, but when I do I like using structured references as they seem a lot cleaner to write.

If I create a table called \"table1\" wit

6条回答
  •  天涯浪人
    2020-12-16 02:28

    The trick in such cases is to use Excel OFFSET function:

    • Accessing 1st row of column named Column1 in the same table: OFFSET([Column1],0,0,1)
    • Accessing 2nd row OFFSET([Column1],1,0,1)

    etc.

    Of course you can use this to accces another table and column by just prefixing it with the table name. For example OFFSET(Table2[Column3],4,0,1)will access the 4th row of the column 'Column3' of 'Table2'

提交回复
热议问题