Adding a directly nested sub-formula Open the Formula form. Click the Item Lines tab. Add the sub-formula code in the Formula Code column. The word SUBFORMULA is displayed for sub-formulas that are not linked to a manufacturing item. By default, the quantity comes from a directly nested sub-formula yield. Parameter values and status also come from the sub-formula.