scale to qty

A function that enables you to scale all scalable items in a formula based on a new quantity for one or more items. The items scale to remain in proportion to the new quantity.