I might have not understood properly, but I don't think you need an all-in-one sprite in the first place. It's less manageable, and no fun. I don't know what kinds of data you'd like to store, but in many cases, one array can hold the attributes for all your troops. For example, let's say you have Green, Yellow, and Red troops. Each troop has two attributes: Speed and Health.
Define constants as follows:
GREEN_INDEX = 0
YELLOW_INDEX = 1
RED_INDEX = 2
ATTR_SPEED_INDEX = 0
ATTR_HEALTH_INDEX = 1
Now, make sure your array has a width of 3 (the number of troops), and a height of 2 (the number of attributes per troop). Now, you can set/store an attribute for a given troop by using the Array (Set at XY) command, where X is your troop index, Y is your attribute index, and Value is the value you'd like to set it to.
For example, to set the Yellow troops health to 60, simply use Array (Set at XY): X = YELLOW_INDEX, Y = ATTR_HEALTH_INDEX, Value = 60.
You can read these attributes in a similar way.