G
Guest
I understand arrays from several posts and the excel help but I haven't
really seen if you can fill arrays with ranges without having to use some
form of loop.
For example I wish to have an array that represents to column ranges...
A2:A30 and B2:B30
Also once the array is created I would like to do a repeat for each value in
the range A2:A30 to compare to a range in a worksheet say T1:T3500 if there
is a match then the value in array B2:B30 is added to the value in the column
S in matching row of the T1:T3500
Example. (say S5 =27)
if A2 = 3456 and B2 = 12 and T5 = 3456 then 12 is added to the value in S5
making the new value in S5 = 39
Any suggestions?
thanks,
really seen if you can fill arrays with ranges without having to use some
form of loop.
For example I wish to have an array that represents to column ranges...
A2:A30 and B2:B30
Also once the array is created I would like to do a repeat for each value in
the range A2:A30 to compare to a range in a worksheet say T1:T3500 if there
is a match then the value in array B2:B30 is added to the value in the column
S in matching row of the T1:T3500
Example. (say S5 =27)
if A2 = 3456 and B2 = 12 and T5 = 3456 then 12 is added to the value in S5
making the new value in S5 = 39
Any suggestions?
thanks,