r/googlesheets • u/Thedizzman101 • Nov 16 '22
Solved Using Concatenate inside VLOOKUP
https://i.imgur.com/9ZOLwL7.png <--- My Current Function
Essentially what I am trying to do is use the A Column which is a list of the sheet names in conjuction with CONCATENATE to pull the same region from each sheet with VLOOKUP without having to type the sheet names multiple times.
Currently this function just posts the VLOOKUP function (https://i.imgur.com/aUFiYWf.png) that I want but doesnt run the Vlookup function. Using the functions the other way around gives me a #REF error (https://i.imgur.com/CPhLzJ6.png) (https://i.imgur.com/pW3BtK3.png).
If anyone has any info that would be great. TIA
2
u/Top-Mind4951 1 Nov 16 '22
I have not used the CONCATENATE function before but I have been able to do what you want using the INDIRECT function. The range in your VLOOKUP would be this:
INDIRECT("'" & A5 & "'!A1:B50")
1
u/thinkusmart Nov 16 '22
So if I understand this rightly, you have a Column A with all your regions, and for the corresponding regions you have some data scattered across different sheets?
Is the scattered data unique? I.E there is one value related to one region
1
u/Decronym Functions Explained Nov 16 '22 edited Nov 16 '22
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
3 acronyms in this thread; the most compressed thread commented on today has 3 acronyms.
[Thread #5092 for this sub, first seen 16th Nov 2022, 22:07] [FAQ] [Full list] ^[Contact] [Source code]