0

turnover forecast v.s. budget for the running budget year.

Hi again Jetsupporters,

I am working on a Jetreport that will show per customer the expected turnover from start budget year by the end of the current month versus the budget. This report calculates per customer the amounts (shipped and invoiced)+(shipped not invoiced)+(deliver due till end of month)-/-credited amount. This is then compared with the budget till month end.

The problem I am trying to solve is that the sales budget is devided in 12 periods (one for every month) and all budget amounts for one customer/product group are in one record in 12 separate colomns. Now if it is period 3, I want to sum the budget amounts for a customer in the colomns 1..3. In period 4. I want to sum 1..4 etc.

Here is the formula that works for the report that only looks at the current month:

=NL("Sum";"Sales budget cross company";$G$11;"Sales Budget Name";Options!$D$9;"Customer";"@@"&$D25)


In G11 the colomn name is made that refers to the colomn name in the sales budget table for the current month
In Options!$D$9 you will find the sales budget name for the current budget year which is at the moment B2008
In D25 is the customer number.
The sum function is need because a budgetline is made per customer per product group

I thought of solving it with an excel IF function but I am afraid that I will need much more that the allowed number of characters in a cell because that would take 12+11+10+9+8+7+6+5+4+3+2+1 NL functions to do the trick.

Any suggestions?

Have nice weekend anyway! :)

Arnoud

4 comments

Please sign in to leave a comment.