Avatar of Flora Edwards
Flora Edwards
Flag for Sweden

asked on 

How to get the same result given by formula vba Scripting Dictionary?

Please see attached file.

currently  i get the correct result via formula.  but it is too slow. i need help to be able to generate the same result via VBA scripting dictionary. or any other way that would be via VBA.


=SUMPRODUCT(DataAMOUNT,--ISNUMBER(MATCH(DataYear,{2011,2012},0)),1-ISNUMBER(MATCH(DataMonth,{111},0)),--ISNUMBER(MATCH(LEFT(DataPRODUCT&"#",1),{"5","6","7"},0)))

Open in new window

EE.xlsb
VBA

Avatar of undefined
Last Comment
Flora Edwards

8/22/2022 - Mon