Move volumes in different amounts

Hi everyone! I have a question about moving/copying volumes.
I have this set of boxes/volumes organized in three branches (each color for each branch).

I want to copy the red volumes a certain amount, whilst the violet ones another amout, and the green ones another amount, in the directions that are shown in the (previous and following) screenshot (which is the result I want to achieve).

However, I tried doing this with a cross reference, but the amount of volumes is not the same for every branch (like in the following screenshot):

Does anybody know how to move the boxes in an amount that varies from branch to branch (one amount for the red, one for the violet, and one for the green ones)?

Thank you!

move volumes in different amouts depending on their (27.6 KB)