Hello,
Would like to ask your help to convert the below function to VBA.
=INDEX('Sheet 1'!A:A,MATCH(1,('Sheet 1'!B1:B90200='Sheet 2'!B3)*('Sheet 1'!C1:C90200='Sheet 2'!C3)*('Sheet 1'!D1:D90200='Sheet 2'!D3)*('Sheet 1'!E1:E90200='Sheet 2'!E3),0))
=INDEX('Sheet 1'!A:A,MATCH(1,('Sheet 1'!B1:B90200='Sheet 2'!B4)*('Sheet 1'!C1:C90200='Sheet 2'!C4)*('Sheet 1'!D1:D90200='Sheet 2'!D4)*('Sheet 1'!E1:E90200='Sheet 2'!E4),0))
=INDEX('Sheet 1'!A:A,MATCH(1,('Sheet 1'!B1:B90200='Sheet 2'!B5)*('Sheet 1'!C1:C90200='Sheet 2'!C5)*('Sheet 1'!D1:D90200='Sheet 2'!D5)*('Sheet 1'!E1:E90200='Sheet 2'!E5),0))
which will populate up to rows 90,200
Thank you
Would like to ask your help to convert the below function to VBA.
=INDEX('Sheet 1'!A:A,MATCH(1,('Sheet 1'!B1:B90200='Sheet 2'!B3)*('Sheet 1'!C1:C90200='Sheet 2'!C3)*('Sheet 1'!D1:D90200='Sheet 2'!D3)*('Sheet 1'!E1:E90200='Sheet 2'!E3),0))
=INDEX('Sheet 1'!A:A,MATCH(1,('Sheet 1'!B1:B90200='Sheet 2'!B4)*('Sheet 1'!C1:C90200='Sheet 2'!C4)*('Sheet 1'!D1:D90200='Sheet 2'!D4)*('Sheet 1'!E1:E90200='Sheet 2'!E4),0))
=INDEX('Sheet 1'!A:A,MATCH(1,('Sheet 1'!B1:B90200='Sheet 2'!B5)*('Sheet 1'!C1:C90200='Sheet 2'!C5)*('Sheet 1'!D1:D90200='Sheet 2'!D5)*('Sheet 1'!E1:E90200='Sheet 2'!E5),0))
which will populate up to rows 90,200
Thank you