Team,
I need some help to optimize code using LQuery for lakhs of Record in Excel.
Sheet 1 consists below data in Datable -

Sheet 2 consists below data in another data table -

Expected Output as below -
- Each item of Sheet-1 colm-A, needs to compared with each item of clom-A of Sheet-2. If it matches then we need to extract Colm-C of Sheet 2 and write in Sheet 3
- Output is saved in Sheet-3

NOTE - Logic is implemented using for 2 for each loops which i want to optimize using LQuery. Any suggestions would be helpful.
Thanks