Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to Use VLOOKUP to return Multiple Values from Single Variable

$
0
0

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 AA         |       BUsers       Total NumberUser 1           User 2User 3           1,2,4,7Sheet BA         |       BUsers       Total NumberUser 1           2User 2           4User 3           1User 3           2User 3           4User 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.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>