In first excel sheet1 i have Acolumn and in sheet2 i have Acolumn if both matches then I have to get the sheet2 value of bcolumn in sheet2 and check the bcolumn in sheet3 and if sheet2 b column matches with sheet3 b column then it has to take the value of currentrow of b column in sheet 3 and the current row has 2-12 string cells values and 2-12 integers cells so if b column matches then take current value for example if matches currentrow has two strings and two integers means it has to take that two strings and transpose beside to A column in sheet 1 as bcolumn as two strings transpose and c columns two integers transpose like wise if 2-12 are there if matches has 12 means it has take transpose beside to Acolumn and append it
I have done the automation
But i would like to know how to do this in linq query or any other method so I can reduce the time it takes to complete the automation

Excel_sheets.xlsx (11.7 KB)