If you change the structure of your current formula slightly it will be much easier to do the accumulation..
numbervar comm;
numbervar commtotal;
if {CB_Originator_View.ComType} = 1
and Sum ({ISB_Commissions_view.totalloanamount}, {@LO}) < 1500000 then
comm:={ISB_Commissions_view.totalloanamount} * {LO_Commisions.OverageBasis} * 0.5
else..........etc
.....
else if {CB_Originator_View.ComType} = 5
and Sum ({ISB_Commissions_view.totalloanamount}, {@LO}) > 2500000 then
comm:={ISB_Commissions_view.totalloanamount} * {LO_Commisions.OverageBasis} * 0.65;
commtotal:=commtotal+comm;
comm
You'll need another formula field at the beginning of the group to set commtotal to 0 and another formula field in the group footer to display the value of commtotal