is it possible to create a table for different size that depend on general quantity (like in attach)? 

i.e. I put 100 t-shirt in total and I want to buy 30S, 20M, 10L and 40XL

These are the options already set in my product http://centropromo.it/prodotto/tshirt-ok/

Thank for you help