I have a database that is (example) arranged as follows:
Account Category Month YTD
A WageCosts 1000 4000
A OtherCosts 1500 6000
A ProdCosts 2000 8000 A Statistic 2500 10000 A CostperStat
I'm seeking a global command to replace CostperSales with (WageCosts+OtherCosts+ProdCosts)/Statistic per each Account or a short program. Thanks in advance
Account Category Month YTD
A WageCosts 1000 4000
A OtherCosts 1500 6000
A ProdCosts 2000 8000 A Statistic 2500 10000 A CostperStat
I'm seeking a global command to replace CostperSales with (WageCosts+OtherCosts+ProdCosts)/Statistic per each Account or a short program. Thanks in advance