Hi exceldivx
Please find attached a workbook with the relevant formula. You will need to enter a user defined function in VBA.
Example.xlsm
edit:
To find 'Number of Contacts' is a simple COUNTIF:
edit2:
In case you don't know how to enter user defined functions, press Alt+F11, click on your workbook in the project explorer on the left, open a new standard module and paste this :
Function Lookup_concat(Search_string As String, _
Search_in_col As Range, Return_val_col As Range)
Dim i As Long
Dim result As String
For i = 1 To Search_in_col.Count
If Search_in_col.Cells(i, 1) = Search_string Then
result = result & " " & Return_val_col.Cells(i, 1).Value
End If
Next
Lookup_concat = Trim(result)
End Function
Bookmarks