I have an array set up by a column and a header like this:

1 2 3 4
A a1 a2 a3 a4
B b1 b2 b3 b4
C c1 c2 c3 c4...

I need to populate label sets by fields generated by the array elements like:

5 of a1, 7 of a2, 8 of a3, 16 of a4.
6 of b1, 2 of b2, 10 of a3, 0 of a4...

How can I do this?