formula in pattern - how to ??

Does anyone kow how to enter a formula in the data places in a pattern, either distances or quantities?

SolidworksParts And Features