Google Sheets/Excel...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

Google Sheets/Excel Boffins!

1 Posts
2 Users
0 Reactions
112 Views
Posts: 551
Free Member
Topic starter
 

I want to vlookup a result in a named array based on text in another cell.
For example.
A1 text is Cats (This is also the table array name)
B1 text is Dogs (This is also the table array name)
C1 text is Rats (This is also the table array name)

The formula in A2 needs to look up the data in the Cats table on another tab and give a result
The formula in B2 needs to look up the data in the Dogs table on another tab and give a result

I can do this by changing the formula in A2,B2 etc but I want it to do it automatically based on what is in A1. There could be 10's of arrays (Animals!!)

Any ideas?


 
Posted : 05/12/2022 12:20 pm
Posts: 10860
Full Member
 

You'll be needing the INDIRECT formula to specify the lookup array based on cell contents. (in excel)


 
Posted : 05/12/2022 1:48 pm