ColumnA (All customers) ColumnB (E-mail) ColumnC (Specific customers)
CustNO MailAddress CustNO
1 [email protected] 2
2 [email protected] 1
[email protected] 1
I am using the following function to return the value of ColumnB when the value of ColumnA matches in a row of ColumnC:
=VLOOKUP(C2;A2:A520;MATCH(B1;A1:C1))
The problem is, that ColumnC can contain multiple values of ColumnA as shown in the above example.
The function as above is only returning the value of ColumnB, for only the first match found of ColumnA and ColumnC. Any idea how I can return all of the values for also the multiple returning values, as shown in above example, ColumnC contains multiple rows with CustNO 1.