Forum Discussion
Reference to multiple table on single sheet
- Sep 24, 2023
Using =baseTableName[@baseTableColTitle] you say Excel to take value from the column baseTableColTitle in the table baseTableName which is in the same row (@) where formula is.
If the formula in RefTable is in row 12, it takes vale from row 12 intersected with the column in main table.
Formula in row 17 gives an error since there is no intersection of row 17 and baseTableColTitle.
For such reference you may use
=IFERROR( INDEX(baseTableName[baseTableColTitle], ROW()-ROW(RefTable[#Headers]) ), "")If other columns are in RefTable they will be not sorted in sync with main table. If in main table are unique ID (e.g. unique names, etc) in some column, you need to use any lookup function to sync other columns.
Using =baseTableName[@baseTableColTitle] you say Excel to take value from the column baseTableColTitle in the table baseTableName which is in the same row (@) where formula is.
If the formula in RefTable is in row 12, it takes vale from row 12 intersected with the column in main table.
Formula in row 17 gives an error since there is no intersection of row 17 and baseTableColTitle.
For such reference you may use
=IFERROR( INDEX(baseTableName[baseTableColTitle], ROW()-ROW(RefTable[#Headers]) ), "")
If other columns are in RefTable they will be not sorted in sync with main table. If in main table are unique ID (e.g. unique names, etc) in some column, you need to use any lookup function to sync other columns.
- Indigo3kSep 24, 2023Copper Contributor
SergeiBaklan Thank you for the quick response.
I will give it a try.Best regards