I'm trying to create another formula for my project.
I'm using VLOOKUP
to search for a variable, and return values related to that variable on a single Cell.
Here is what I'm working With
Sheet A
A | B
Users Total Number
User 1
User 2
User 3 1,2,4,7
Sheet B
A | B
Users Total Number
User 1 2
User 2 4
User 3 1
User 3 2
User 3 4
User 3 7
I want to collect the numbers that are related per User on a single cell. Here's my current formula used:
=ARRAYFORMULA({"Client Payments"; JOIN(",", VLOOKUP(B2, 'Package Payments'!B2:E, 2, FALSE))})
I thought this code would reiterate itself and produce the result on Sheet A, User 3's Row. Also, I want to avoid using query as I want to repeat the code all-throughout the sheet.
Any recommendations are welcomed.