Google Sheets/Excel...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

Google Sheets/Excel Boffins!

1 Posts
2 Users
0 Reactions
105 Views
Posts: 550
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: 10761
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

6 DAYS LEFT
We are currently at 95% of our target!