Are job numbers listed sequentially in the report.B
By multiple lines, did you mean
Job Total Color
1 50
2 100
3 50
4 50
5 100
6 50
6 50
Like this?
What I would do is group by Job Number, have a running total for jobnumber using MAX (doctotal) as the type of summary.
evaluate the formula based on jobnum
and change on group.
....
You can have another running total that will add up the totals up this first running total