Forum Discussion
DetailsByBill
Nov 07, 2019Copper Contributor
Use results of =CONCAT(B2,", ",A2) for a Vlookup Table Array Target
I'm using a =Cocat to combine the first name and last name fields followed by a comma and space. The results are a target array for a Vlookup. I'm getting a #NA error on the Vlookup. I know that many...
DetailsByBill
Nov 07, 2019Copper Contributor
mathetes The cell that needs be Trimmed contains =CONCAT(B2,", ",A2)
A2 = Last Name, B2= First Name
Did I miss a step?
Patrick2788
Nov 07, 2019Silver Contributor
Formula should begin:
=VLOOKUP(TRIM(B2&", "&A2)
If you think the spaces are in the table_array:
=VLOOKUP("*"&B2&", "&A2&"*",
- DetailsByBillNov 07, 2019Copper Contributor
Patrick2788 Thanks. It worked!