Forum Discussion

Varsit_N_Shah's avatar
Varsit_N_Shah
Copper Contributor
Oct 25, 2020

V-lookup function on Primary key with multiple variations

Hello Experts ,

 

I have 2 tables in my workbook. Table A has below columns. In Table A I need name of customers from Table B on the basis of Invoice Number.

 

TABLE A
Invoice no.QtyAmountNeed name of Customer
7721100 
7022500 
GST/0621/20-213600 
B2B/0623/20-214300 
6275200 
B2B/6306800 
4407950 
470/2019-208750 
GST/0650/20-219300 
2454703811050 
MIS245470380111000 
GST/06545/202112835 

 

Table B has below format and I need sale amount here from Table A on the basis of Invoice No. 

 

TABLE B
Invoice no.Name of CustomerNeed Amount
RKS/772/20-21A 
MGPCL/702/20-21B 
621X 
B2B/0623E 
B2B/0627/20-21R 
630F 
GST/440/2019-20G 
470T 
B2B/0650/20-21M 
MIS245470381J 
MIS24547000380K 
B2B/0645/20-21Y 

 

But as there are multiple variation in Invoice Number in both the table , vlookup function is not working properly. Pls guide how to resolve this.

 

Thanks a ton in advance for sparing time for me in replying.

 

Varsit N Shah

7 Replies

Resources