Need help to compare (match) 2 columns from 2 sheets and return value from 3rd column of 2nd sheet if it matches.
With Range("B3:B" & Range("A" & Rows.Count).End(xlUp).Row)
.Formula = "=INDEX($D:$D,MATCH(1,(Sheet1!B$1=Sheet2!$C:$C)*(Sheet1!$A3=Sheet2!$A:$A),0))"
.Value = .Value
End With
Sheet 1:
Sheet 2:
This Function is taking longer than usual if I place formula in each cell (for whole month). so trying this With function but needs a better code which should run faster. Any suggestions ..


