indesignkat
Member
I would like to use INDEX & MATCH to return a value from another table, like this:
=INDEX(Table1[Trainer],MATCH(A2,Table1[Office],0))
So if you had an office number in A2, this would reference Table1 to find the trainer that uses that office.
The kink is that I have a big spreadsheet with lots of different tables like that, each one for a different building. So I'd like to have the formula work exactly the same way, except have it also identify which table it's referencing based on the building name.
So, office numbers in A, building names in B, and I want to put the trainer names in C. I'd like it to identify which table it needs to reference by checking the contents of column B (table names match building names), then return the trainer using index & match as shown above.
I know this sounds simple with combining of tables and whatnot, but there is a lot more data in them than just the three mentioned above, and they're pretty good-sized tables, and I don't want to mess up their structure if I don't have to.
any thoughts?
idk
=INDEX(Table1[Trainer],MATCH(A2,Table1[Office],0))
So if you had an office number in A2, this would reference Table1 to find the trainer that uses that office.
The kink is that I have a big spreadsheet with lots of different tables like that, each one for a different building. So I'd like to have the formula work exactly the same way, except have it also identify which table it's referencing based on the building name.
So, office numbers in A, building names in B, and I want to put the trainer names in C. I'd like it to identify which table it needs to reference by checking the contents of column B (table names match building names), then return the trainer using index & match as shown above.
I know this sounds simple with combining of tables and whatnot, but there is a lot more data in them than just the three mentioned above, and they're pretty good-sized tables, and I don't want to mess up their structure if I don't have to.
any thoughts?
idk