Handle multiple formulas for calculated attributes