After about an hour of creating... here is a sample of what i ended up doing for players/rebuys up to 30...

if(n+nr >=3 && n+nr <= 6, if(r==1, ((n+nr)*100)*.35+(n+nr), if(r==2, ((n+nr)*100)*.25+(n+nr), if(r==3, ((n+nr)*100)*.15+(n+nr), if(r==4, ((n+nr)*100)*.12, if(r==5, ((n+nr)*100)*.08, if(r==6, ((n+nr)*100)*.05, 0)))))),

if(n+nr >=7 && n+nr <= 9, if(r==1, ((n+nr)*100)*.32+(n+nr), if(r==2, ((n+nr)*100)*.22+(n+nr), if(r==3, ((n+nr)*100)*.13+(n+nr), if(r==4, ((n+nr)*100)*.11, if(r==5, ((n+nr)*100)*.08, if(r==6, ((n+nr)*100)*.05, if(r==7, ((n+nr)*100)*.045, if(r==8, ((n+nr)*100)*.025, if(r>=9 && r<=10, ((n+nr)*100)*.02, 0))))))))),

if(n+nr >=10 && n+nr <= 12,if(r==1, ((n+nr)*100)*.3+(n+nr), if(r==2, ((n+nr)*100)*.2+(n+nr), if(r==3, ((n+nr)*100)*.12+(n+nr), if(r==4, ((n+nr)*100)*.1, if(r==5, ((n+nr)*100)*.08, if(r==6, ((n+nr)*100)*.06, if(r==7, ((n+nr)*100)*.04, if(r==8, ((n+nr)*100)*.03, if(r==9, ((n+nr)*100)*.025, if(r==10, ((n+nr)*100)*.02, if(r==11, ((n+nr)*100)*.015, if(r==12, ((n+nr)*100)*.01, 0)))))))))))),

if(n+nr >=13 && n+nr <= 16,if(r==1, ((n+nr)*100)*.3+(n+nr), if(r==2, ((n+nr)*100)*.2+(n+nr), if(r==3, ((n+nr)*100)*.1075+(n+nr), if(r==4, ((n+nr)*100)*.0875, if(r==5, ((n+nr)*100)*.0675, if(r==6, ((n+nr)*100)*.055, if(r==7, ((n+nr)*100)*.04, if(r==8, ((n+nr)*100)*.03, if(r==9, ((n+nr)*100)*.025, if(r==10, ((n+nr)*100)*.025, if(r==11, ((n+nr)*100)*.02, if(r>11 && r<15, ((n+nr)*100)*.01, if(r>14 && r<17, ((n+nr)*100)*.005, 0))))))))))))),

if(n+nr >=17 && n+nr <= 20,if(r==1, ((n+nr)*100)*.3+(n+nr), if(r==2, ((n+nr)*100)*.2+(n+nr), if(r==3, ((n+nr)*100)*.1+(n+nr), if(r==4, ((n+nr)*100)*.08, if(r==5, ((n+nr)*100)*.06, if(r==6, ((n+nr)*100)*.05, if(r==7, ((n+nr)*100)*.04, if(r==8, ((n+nr)*100)*.03, if(r==9, ((n+nr)*100)*.025, if(r>9 && r<12, ((n+nr)*100)*.02, if(r>11 && r<15, ((n+nr)*100)*.01, if(r>14 && r<21, ((n+nr)*100)*.0075, 0)))))))))))),

if(n+nr >=21 && n+nr <= 24,if(r==1, ((n+nr)*100)*.3+(n+nr), if(r==2, ((n+nr)*100)*.2+(n+nr), if(r==3, ((n+nr)*100)*.1+(n+nr), if(r==4, ((n+nr)*100)*.08, if(r==5, ((n+nr)*100)*.06, if(r==6, ((n+nr)*100)*.05, if(r==7, ((n+nr)*100)*.04, if(r==8, ((n+nr)*100)*.03, if(r==9, ((n+nr)*100)*.02, if(r>9 && r<15, ((n+nr)*100)*.01, if(r>14 && r<21, ((n+nr)*100)*.0075, if(r>20 && r<23, ((n+nr)*100)*.0050, if(r>22 && r<25, ((n+nr)*100)*.0025, 0))))))))))))),

if(n+nr >=25 && n+nr <= 27,if(r==1, ((n+nr)*100)*.3+(n+nr), if(r==2, ((n+nr)*100)*.2+(n+nr), if(r==3, ((n+nr)*100)*.1+(n+nr), if(r==4, ((n+nr)*100)*.08, if(r==5, ((n+nr)*100)*.06, if(r==6, ((n+nr)*100)*.05, if(r==7, ((n+nr)*100)*.04, if(r==8, ((n+nr)*100)*.03, if(r==9, ((n+nr)*100)*.02, if(r>9 && r<15, ((n+nr)*100)*.01, if(r>14 && r<21, ((n+nr)*100)*.0075, if(r>20 && r<24, ((n+nr)*100)*.0050, if(r>23 && r<28, ((n+nr)*100)*.0025, 0))))))))))))),

if(n+nr >=28 && n+nr <= 30,if(r==1, ((n+nr)*100)*.295+(n+nr), if(r==2, ((n+nr)*100)*.195+(n+nr), if(r==3, ((n+nr)*100)*.1+(n+nr), if(r==4, ((n+nr)*100)*.08, if(r==5, ((n+nr)*100)*.06, if(r==6, ((n+nr)*100)*.05, if(r==7, ((n+nr)*100)*.04, if(r==8, ((n+nr)*100)*.03, if(r==9, ((n+nr)*100)*.02, if(r>9 && r<15, ((n+nr)*100)*.01, if(r>14 && r<21, ((n+nr)*100)*.0075, if(r>20 && r<25, ((n+nr)*100)*.0050, if(r>24 && r<31, ((n+nr)*100)*.0025, 0))))))))))))),

if(r==1, 810, if(r==2, 540, if(r==3, 270, if(r==4, 210, if(r==5, 180, if(r==6, 150, if(r==7, 120, if(r==8, 90, if(r==9, 60, if(r==10 || r==11, 45, if(r>11 && r<19, 30, if(r>18 && r<31, 22.5, 0))))))))))))

)

)

)

)

)

)

)

)

i could prolly clean it up a little bit... but it seems to do 95% of the job.