Update rows in excel from another excel file based on PRODUCT CODE -
i need following :
in first excel file (with 500products) have 2 columns :
product code, price, in excel file (with 10000 products) have 3 columns :
product code, product name, product description in second file there additional 9500 products, in situation not need. need update first file - 500 products - need add data second file based on product code.
by other words : read first product code in file1, find same product code in file2 copy product name , product description , add these data row in file1. continue next product code in file1 , same.
assuming name , description in columns c , d respectively in 1st file, use below formula,
c2=index([abc.xlsx]sheet1!a:c,match(a2,[abc.xlsx]sheet1!a:a,0),2) d2=index([abc.xlsx]sheet1!a:c,match(a2,[abc.xlsx]sheet1!a:a,0),3) these formulas read data starting a2(product code), search same in abc.xlsx (2nd file) sheet 1 , returns name , description. name , description in 2nd file should in columns b , c. let me know if need else.
Comments
Post a Comment