I have this formula...how would i convert it to vba...
=SUM(SMALL(A1:A10,{1,2,3}))
i would think this would work but gives me an invalid character on the "{"...any thoughts?
trying to use this in a UDF...rng is the select range....
=SUM(SMALL(A1:A10,{1,2,3}))
i would think this would work but gives me an invalid character on the "{"...any thoughts?
trying to use this in a UDF...rng is the select range....
Code:
worksheetfunction.sum(worksheetfunction.small(rng,{1,2,3})