Displaying 1 result from an estimated 1 matches for "av_revenue_2012_01".
Did you mean:
av_revenue_2012_02
2013 Jan 09
4
Basic loop programming
...riables for a year
- Sales_2012_01, Sales_2012_02, Sales_2012_03, .... (total sales
for jan 2012,feb 2012, etc.)
- Customers_2012_01, Customers_2012_02, .... (total number of
customers for jan 2012, etc.)
and I want to create new monthly variables in order to compute
revenues per customers:
Av_revenue_2012_01 = Sales_2012_01 / Customers_2012_01
Av_revenue_2012_02 = Sales_2012_02 / Customers_2012_02
...
how can I proceed?
In other programming language I used just to write something like
for (i in list("01","02, ..., "12") {
Av_revenue_2012_'i' = Sales_2012_'i'...