We can search data in Sheet1 (Data) and display the results in Sheet2 (Results) based on multiple conditions using VBA. Watch the training video below before studying the VBA macro code carefully. Also note that you cannot just copy this code and use it in your workbook because some characters especially quotes can change.
Watch this video on YouTube.
Dim lastrow As Long, x As Long
If Sheets(“Data”).Cells(x, 1).Value = Sheets(“Results”).Range
Sheets(“Results”).Range(“c2”).Value = Sheets(“Data”).Cells(x, 3).Value