Thank you! Figured out for 4th to 9th place.
if(r == 1, 150, if(r == 2, 120, if(r == 3, 100, if(r == 4, 80, if(r == 5, 70, if(r== 6, 60, if(r == 6, 50, if(r == 7, 40, if(r==8,30, if(r==9,20)))))))))) * if(pp < 2500, 2, if(pp < 10000, 3, 4)) * if(n < 25, 1, if(n < 50, 2, 3))
Sorry, i didnt told about 4th to 9th place. but there are formula. From >10th gets 0 points. And that are correct.