edison1135
Technical User
I have a report with two groups, the first group is by Manager, and the second is by quarter. The following summary prints in the manager group footer, (so it shows the information for each quarter for each manager.) For the sake of this discussion I've grouped the quarters together for one Marketing Manager. I used running total formulas for most of the fields below.
A B C D E
QTR DRAW EARNED BALANCE PAID TOTAL PAY
Q1 6000 7,500 1,500 1,500 7,500
Q2 6000 5,000 (1,000) 0 6,000
Q3 6000 6,250 250 250 6,250
Q4 6000 5,000 (1,000) 0 6,000
The DRAW is a set target or goal for the manager.
EARNED is the manager’s sales for the quarter.
The BALANCE is EARNED minus the DRAW.
If BALANCE is a positive number, that positive amount is PAID for the quarter, otherwise a “0” is entered.
TOTAL PAY is the sum if DRAW plus PAID.
In the above example, each Quarter is independent of the previous quarter's results. What I want to do is, if the amount in the "BALANCE" column for the previous quarter is negative, add it to the next quarter's BALANCE amount. If it is >= 0, then it wouldn't be added. This sounds simple to do, but I'm having trouble with it. The table would then look like the one below:
A B C D E
QTR DRAW EARNED BALANCE PAID TOTAL PAY
Q1 6000 7,500 1,500 1,500 7,500
Q2 6000 5,000 (1,000) 0 6,000
Q3 6000 6,250 (750) 0 6,000
Q4 6000 5,000 (1,750) 0 6,000
Thanks,
Edison1135
A B C D E
QTR DRAW EARNED BALANCE PAID TOTAL PAY
Q1 6000 7,500 1,500 1,500 7,500
Q2 6000 5,000 (1,000) 0 6,000
Q3 6000 6,250 250 250 6,250
Q4 6000 5,000 (1,000) 0 6,000
The DRAW is a set target or goal for the manager.
EARNED is the manager’s sales for the quarter.
The BALANCE is EARNED minus the DRAW.
If BALANCE is a positive number, that positive amount is PAID for the quarter, otherwise a “0” is entered.
TOTAL PAY is the sum if DRAW plus PAID.
In the above example, each Quarter is independent of the previous quarter's results. What I want to do is, if the amount in the "BALANCE" column for the previous quarter is negative, add it to the next quarter's BALANCE amount. If it is >= 0, then it wouldn't be added. This sounds simple to do, but I'm having trouble with it. The table would then look like the one below:
A B C D E
QTR DRAW EARNED BALANCE PAID TOTAL PAY
Q1 6000 7,500 1,500 1,500 7,500
Q2 6000 5,000 (1,000) 0 6,000
Q3 6000 6,250 (750) 0 6,000
Q4 6000 5,000 (1,750) 0 6,000
Thanks,
Edison1135