Hi All,
I have an array formula as below that works as intended, but is really slow to calculate values due to the size of the dataset. Therefore my though to speed this up is to convert it to VBA. I have searched, however am struggling to find any examples online.
Therefore any assistance would be appreciated.
{=INDEX(Sheet1!$A$1:$S$25466,MATCH(1,(Sheet1!$A:$A=B20)*(Sheet1!$D:$D=C20),0),E20)}
The formula is matching an article code with a colour code and then returns the qty from the size field.
B20 = Article Code
C20 = Colour Code
E20 = Size field
Sheet1
REF BRANCH STORES COLOUR 001 002 003 004
123456 BLK 5 4 0 3
Many Thanks
I have an array formula as below that works as intended, but is really slow to calculate values due to the size of the dataset. Therefore my though to speed this up is to convert it to VBA. I have searched, however am struggling to find any examples online.
Therefore any assistance would be appreciated.
{=INDEX(Sheet1!$A$1:$S$25466,MATCH(1,(Sheet1!$A:$A=B20)*(Sheet1!$D:$D=C20),0),E20)}
The formula is matching an article code with a colour code and then returns the qty from the size field.
B20 = Article Code
C20 = Colour Code
E20 = Size field
Sheet1
REF BRANCH STORES COLOUR 001 002 003 004
123456 BLK 5 4 0 3
Many Thanks