It took me a while to understand and create the formula so I wanted all to be able to have it easily.
Provincial Formula : Québec-Canada Taxes Salary Component formula (Provincial Formula) - ERPNext / HRMS - ERPNext Forum
Formula for Fortnighly Salaries (every 14 days)
Federal Tax Formula :
0 if ((SL+BON+VR) >= 0 and (SL+BON+VR) <= 646.99) else 0.4 if ((SL+BON+VR) >= 647 and (SL+BON+VR) <= 650.99) else 0.85 if ((SL+BON+VR) >= 651 and (SL+BON+VR) <= 654.99) else 1.3 if ((SL+BON+VR) >= 655 and (SL+BON+VR) <= 658.99) else 1.75 if ((SL+BON+VR) >= 659 and (SL+BON+VR) <= 662.99) else 2.25 if ((SL+BON+VR) >= 663 and (SL+BON+VR) <= 666.99) else 2.7 if ((SL+BON+VR) >= 667 and (SL+BON+VR) <= 670.99) else 3.15 if ((SL+BON+VR) >= 671 and (SL+BON+VR) <= 674.99) else 3.6 if ((SL+BON+VR) >= 675 and (SL+BON+VR) <= 678.99) else 4.1 if ((SL+BON+VR) >= 679 and (SL+BON+VR) <= 682.99) else 4.55 if ((SL+BON+VR) >= 683 and (SL+BON+VR) <= 686.99) else 5 if ((SL+BON+VR) >= 687 and (SL+BON+VR) <= 690.99) else 5.45 if ((SL+BON+VR) >= 691 and (SL+BON+VR) <= 694.99) else 5.95 if ((SL+BON+VR) >= 695 and (SL+BON+VR) <= 698.99) else 6.4 if ((SL+BON+VR) >= 699 and (SL+BON+VR) <= 702.99) else 6.85 if ((SL+BON+VR) >= 703 and (SL+BON+VR) <= 706.99) else 7.3 if ((SL+BON+VR) >= 707 and (SL+BON+VR) <= 710.99) else 7.8 if ((SL+BON+VR) >= 711 and (SL+BON+VR) <= 714.99) else 8.25 if ((SL+BON+VR) >= 715 and (SL+BON+VR) <= 718.99) else 8.7 if ((SL+BON+VR) >= 719 and (SL+BON+VR) <= 722.99) else 9.15 if ((SL+BON+VR) >= 723 and (SL+BON+VR) <= 726.99) else 9.6 if ((SL+BON+VR) >= 727 and (SL+BON+VR) <= 730.99) else 10.1 if ((SL+BON+VR) >= 731 and (SL+BON+VR) <= 734.99) else 10.55 if ((SL+BON+VR) >= 735 and (SL+BON+VR) <= 738.99) else 11 if ((SL+BON+VR) >= 739 and (SL+BON+VR) <= 742.99) else 11.45 if ((SL+BON+VR) >= 743 and (SL+BON+VR) <= 746.99) else 11.95 if ((SL+BON+VR) >= 747 and (SL+BON+VR) <= 750.99) else 12.4 if ((SL+BON+VR) >= 751 and (SL+BON+VR) <= 754.99) else 12.85 if ((SL+BON+VR) >= 755 and (SL+BON+VR) <= 758.99) else 13.3 if ((SL+BON+VR) >= 759 and (SL+BON+VR) <= 762.99) else 13.8 if ((SL+BON+VR) >= 763 and (SL+BON+VR) <= 766.99) else 14.25 if ((SL+BON+VR) >= 767 and (SL+BON+VR) <= 770.99) else 14.7 if ((SL+BON+VR) >= 771 and (SL+BON+VR) <= 774.99) else 15.15 if ((SL+BON+VR) >= 775 and (SL+BON+VR) <= 778.99) else 15.6 if ((SL+BON+VR) >= 779 and (SL+BON+VR) <= 782.99) else 16.1 if ((SL+BON+VR) >= 783 and (SL+BON+VR) <= 786.99) else 16.55 if ((SL+BON+VR) >= 787 and (SL+BON+VR) <= 790.99) else 17 if ((SL+BON+VR) >= 791 and (SL+BON+VR) <= 794.99) else 17.45 if ((SL+BON+VR) >= 795 and (SL+BON+VR) <= 798.99) else 17.95 if ((SL+BON+VR) >= 799 and (SL+BON+VR) <= 802.99) else 18.4 if ((SL+BON+VR) >= 803 and (SL+BON+VR) <= 806.99) else 18.85 if ((SL+BON+VR) >= 807 and (SL+BON+VR) <= 810.99) else 19.3 if ((SL+BON+VR) >= 811 and (SL+BON+VR) <= 814.99) else 19.8 if ((SL+BON+VR) >= 815 and (SL+BON+VR) <= 818.99) else 20.25 if ((SL+BON+VR) >= 819 and (SL+BON+VR) <= 822.99) else 20.7 if ((SL+BON+VR) >= 823 and (SL+BON+VR) <= 826.99) else 21.15 if ((SL+BON+VR) >= 827 and (SL+BON+VR) <= 830.99) else 21.65 if ((SL+BON+VR) >= 831 and (SL+BON+VR) <= 834.99) else 22.1 if ((SL+BON+VR) >= 835 and (SL+BON+VR) <= 838.99) else 22.55 if ((SL+BON+VR) >= 839 and (SL+BON+VR) <= 842.99) else 23 if ((SL+BON+VR) >= 843 and (SL+BON+VR) <= 846.99) else 23.45 if ((SL+BON+VR) >= 847 and (SL+BON+VR) <= 850.99) else 23.95 if ((SL+BON+VR) >= 851 and (SL+BON+VR) <= 854.99) else 24.4 if ((SL+BON+VR) >= 855 and (SL+BON+VR) <= 858.99) else 24.85 if ((SL+BON+VR) >= 859 and (SL+BON+VR) <= 862.99) else 25.55 if ((SL+BON+VR) >= 863 and (SL+BON+VR) <= 870.99) else 26.45 if ((SL+BON+VR) >= 871 and (SL+BON+VR) <= 878.99) else 27.4 if ((SL+BON+VR) >= 879 and (SL+BON+VR) <= 886.99) else 28.3 if ((SL+BON+VR) >= 887 and (SL+BON+VR) <= 894.99) else 29.25 if ((SL+BON+VR) >= 895 and (SL+BON+VR) <= 902.99) else 30.15 if ((SL+BON+VR) >= 903 and (SL+BON+VR) <= 910.99) else 31.1 if ((SL+BON+VR) >= 911 and (SL+BON+VR) <= 918.99) else 32 if ((SL+BON+VR) >= 919 and (SL+BON+VR) <= 926.99) else 32.95 if ((SL+BON+VR) >= 927 and (SL+BON+VR) <= 934.99) else 33.85 if ((SL+BON+VR) >= 935 and (SL+BON+VR) <= 942.99) else 34.8 if ((SL+BON+VR) >= 943 and (SL+BON+VR) <= 950.99) else 35.7 if ((SL+BON+VR) >= 951 and (SL+BON+VR) <= 958.99) else 36.65 if ((SL+BON+VR) >= 959 and (SL+BON+VR) <= 966.99) else 37.55 if ((SL+BON+VR) >= 967 and (SL+BON+VR) <= 974.99) else 38.5 if ((SL+BON+VR) >= 975 and (SL+BON+VR) <= 982.99) else 39.4 if ((SL+BON+VR) >= 983 and (SL+BON+VR) <= 990.99) else 40.35 if ((SL+BON+VR) >= 991 and (SL+BON+VR) <= 998.99) else 41.25 if ((SL+BON+VR) >= 999 and (SL+BON+VR) <= 1006.99) else 42.15 if ((SL+BON+VR) >= 1007 and (SL+BON+VR) <= 1014.99) else 43.1 if ((SL+BON+VR) >= 1015 and (SL+BON+VR) <= 1022.99) else 44 if ((SL+BON+VR) >= 1023 and (SL+BON+VR) <= 1030.99) else 44.95 if ((SL+BON+VR) >= 1031 and (SL+BON+VR) <= 1038.99) else 45.85 if ((SL+BON+VR) >= 1039 and (SL+BON+VR) <= 1046.99) else 46.8 if ((SL+BON+VR) >= 1047 and (SL+BON+VR) <= 1054.99) else 47.7 if ((SL+BON+VR) >= 1055 and (SL+BON+VR) <= 1062.99) else 48.65 if ((SL+BON+VR) >= 1063 and (SL+BON+VR) <= 1070.99) else 49.55 if ((SL+BON+VR) >= 1071 and (SL+BON+VR) <= 1078.99) else 50.5 if ((SL+BON+VR) >= 1079 and (SL+BON+VR) <= 1086.99) else 51.4 if ((SL+BON+VR) >= 1087 and (SL+BON+VR) <= 1094.99) else 52.35 if ((SL+BON+VR) >= 1095 and (SL+BON+VR) <= 1102.99) else 53.25 if ((SL+BON+VR) >= 1103 and (SL+BON+VR) <= 1110.99) else 54.2 if ((SL+BON+VR) >= 1111 and (SL+BON+VR) <= 1118.99) else 55.1 if ((SL+BON+VR) >= 1119 and (SL+BON+VR) <= 1126.99) else 56 if ((SL+BON+VR) >= 1127 and (SL+BON+VR) <= 1134.99) else 56.95 if ((SL+BON+VR) >= 1135 and (SL+BON+VR) <= 1142.99) else 57.85 if ((SL+BON+VR) >= 1143 and (SL+BON+VR) <= 1150.99) else 58.8 if ((SL+BON+VR) >= 1151 and (SL+BON+VR) <= 1158.99) else 59.7 if ((SL+BON+VR) >= 1159 and (SL+BON+VR) <= 1166.99) else 60.65 if ((SL+BON+VR) >= 1167 and (SL+BON+VR) <= 1174.99) else 61.55 if ((SL+BON+VR) >= 1175 and (SL+BON+VR) <= 1182.99) else 62.5 if ((SL+BON+VR) >= 1183 and (SL+BON+VR) <= 1190.99) else 63.4 if ((SL+BON+VR) >= 1191 and (SL+BON+VR) <= 1198.99) else 64.35 if ((SL+BON+VR) >= 1199 and (SL+BON+VR) <= 1206.99) else 65.25 if ((SL+BON+VR) >= 1207 and (SL+BON+VR) <= 1214.99) else 66.2 if ((SL+BON+VR) >= 1215 and (SL+BON+VR) <= 1222.99) else 67.1 if ((SL+BON+VR) >= 1223 and (SL+BON+VR) <= 1230.99) else 68.05 if ((SL+BON+VR) >= 1231 and (SL+BON+VR) <= 1238.99) else 68.95 if ((SL+BON+VR) >= 1239 and (SL+BON+VR) <= 1246.99) else 69.85 if ((SL+BON+VR) >= 1247 and (SL+BON+VR) <= 1254.99) else 70.8 if ((SL+BON+VR) >= 1255 and (SL+BON+VR) <= 1262.99) else 71.7 if ((SL+BON+VR) >= 1263 and (SL+BON+VR) <= 1270.99) else 72.65 if ((SL+BON+VR) >= 1271 and (SL+BON+VR) <= 1278.99) else 73.55 if ((SL+BON+VR) >= 1279 and (SL+BON+VR) <= 1286.99) else 74.5 if ((SL+BON+VR) >= 1287 and (SL+BON+VR) <= 1294.99) else 75.4 if ((SL+BON+VR) >= 1295 and (SL+BON+VR) <= 1302.99) else 76.8 if ((SL+BON+VR) >= 1303 and (SL+BON+VR) <= 1318.99) else 78.65 if ((SL+BON+VR) >= 1319 and (SL+BON+VR) <= 1334.99) else 80.5 if ((SL+BON+VR) >= 1335 and (SL+BON+VR) <= 1350.99) else 82.35 if ((SL+BON+VR) >= 1351 and (SL+BON+VR) <= 1366.99) else 84.2 if ((SL+BON+VR) >= 1367 and (SL+BON+VR) <= 1382.99) else 86.05 if ((SL+BON+VR) >= 1383 and (SL+BON+VR) <= 1398.99) else 87.9 if ((SL+BON+VR) >= 1399 and (SL+BON+VR) <= 1414.99) else 89.75 if ((SL+BON+VR) >= 1415 and (SL+BON+VR) <= 1430.99) else 91.55 if ((SL+BON+VR) >= 1431 and (SL+BON+VR) <= 1446.99) else 93.4 if ((SL+BON+VR) >= 1447 and (SL+BON+VR) <= 1462.99) else 95.25 if ((SL+BON+VR) >= 1463 and (SL+BON+VR) <= 1478.99) else 97.1 if ((SL+BON+VR) >= 1479 and (SL+BON+VR) <= 1494.99) else 98.95 if ((SL+BON+VR) >= 1495 and (SL+BON+VR) <= 1510.99) else 100.8 if ((SL+BON+VR) >= 1511 and (SL+BON+VR) <= 1526.99) else 102.65 if ((SL+BON+VR) >= 1527 and (SL+BON+VR) <= 1542.99) else 104.5 if ((SL+BON+VR) >= 1543 and (SL+BON+VR) <= 1558.99) else 106.35 if ((SL+BON+VR) >= 1559 and (SL+BON+VR) <= 1574.99) else 108.2 if ((SL+BON+VR) >= 1575 and (SL+BON+VR) <= 1590.99) else 110.05 if ((SL+BON+VR) >= 1591 and (SL+BON+VR) <= 1606.99) else 111.9 if ((SL+BON+VR) >= 1607 and (SL+BON+VR) <= 1622.99) else 113.75 if ((SL+BON+VR) >= 1623 and (SL+BON+VR) <= 1638.99) else 115.6 if ((SL+BON+VR) >= 1639 and (SL+BON+VR) <= 1654.99) else 117.45 if ((SL+BON+VR) >= 1655 and (SL+BON+VR) <= 1670.99) else 119.3 if ((SL+BON+VR) >= 1671 and (SL+BON+VR) <= 1686.99) else 121.1 if ((SL+BON+VR) >= 1687 and (SL+BON+VR) <= 1702.99) else 122.95 if ((SL+BON+VR) >= 1703 and (SL+BON+VR) <= 1718.99) else 124.8 if ((SL+BON+VR) >= 1719 and (SL+BON+VR) <= 1734.99) else 126.65 if ((SL+BON+VR) >= 1735 and (SL+BON+VR) <= 1750.99) else 128.5 if ((SL+BON+VR) >= 1751 and (SL+BON+VR) <= 1766.99) else 130.35 if ((SL+BON+VR) >= 1767 and (SL+BON+VR) <= 1782.99) else 132.2 if ((SL+BON+VR) >= 1783 and (SL+BON+VR) <= 1798.99) else 134.05 if ((SL+BON+VR) >= 1799 and (SL+BON+VR) <= 1814.99) else 135.9 if ((SL+BON+VR) >= 1815 and (SL+BON+VR) <= 1830.99) else 137.75 if ((SL+BON+VR) >= 1831 and (SL+BON+VR) <= 1846.99) else 139.6 if ((SL+BON+VR) >= 1847 and (SL+BON+VR) <= 1862.99) else 141.45 if ((SL+BON+VR) >= 1863 and (SL+BON+VR) <= 1878.99) else 143.3 if ((SL+BON+VR) >= 1879 and (SL+BON+VR) <= 1894.99) else 145.15 if ((SL+BON+VR) >= 1895 and (SL+BON+VR) <= 1910.99) else 147 if ((SL+BON+VR) >= 1911 and (SL+BON+VR) <= 1926.99) else 149 if ((SL+BON+VR) >= 1927 and (SL+BON+VR) <= 1942.99) else 151.6 if ((SL+BON+VR) >= 1943 and (SL+BON+VR) <= 1958.99) else 154.2 if ((SL+BON+VR) >= 1959 and (SL+BON+VR) <= 1974.99) else 156.75 if ((SL+BON+VR) >= 1975 and (SL+BON+VR) <= 1990.99) else 159.35 if ((SL+BON+VR) >= 1991 and (SL+BON+VR) <= 2006.99) else 161.95 if ((SL+BON+VR) >= 2007 and (SL+BON+VR) <= 2022.99) else 164.5 if ((SL+BON+VR) >= 2023 and (SL+BON+VR) <= 2038.99) else 167.1 if ((SL+BON+VR) >= 2039 and (SL+BON+VR) <= 2054.99) else 169.65 if ((SL+BON+VR) >= 2055 and (SL+BON+VR) <= 2070.99) else 172.25 if ((SL+BON+VR) >= 2071 and (SL+BON+VR) <= 2086.99) else 174.85 if ((SL+BON+VR) >= 2087 and (SL+BON+VR) <= 2102.99) else 177.4 if ((SL+BON+VR) >= 2103 and (SL+BON+VR) <= 2118.99) else 180 if ((SL+BON+VR) >= 2119 and (SL+BON+VR) <= 2134.99) else 182.6 if ((SL+BON+VR) >= 2135 and (SL+BON+VR) <= 2150.99) else 185.15 if ((SL+BON+VR) >= 2151 and (SL+BON+VR) <= 2166.99) else 187.75 if ((SL+BON+VR) >= 2167 and (SL+BON+VR) <= 2182.99) else 190.95 if ((SL+BON+VR) >= 2183 and (SL+BON+VR) <= 2206.99) else 194.85 if ((SL+BON+VR) >= 2207 and (SL+BON+VR) <= 2230.99) else 198.7 if ((SL+BON+VR) >= 2231 and (SL+BON+VR) <= 2254.99) else 202.6 if ((SL+BON+VR) >= 2255 and (SL+BON+VR) <= 2278.99) else 206.45 if ((SL+BON+VR) >= 2279 and (SL+BON+VR) <= 2302.99) else 210.35 if ((SL+BON+VR) >= 2303 and (SL+BON+VR) <= 2326.99) else 214.25 if ((SL+BON+VR) >= 2327 and (SL+BON+VR) <= 2350.99) else 218.15 if ((SL+BON+VR) >= 2351 and (SL+BON+VR) <= 2374.99) else 222.05 if ((SL+BON+VR) >= 2375 and (SL+BON+VR) <= 2398.99) else 225.95 if ((SL+BON+VR) >= 2399 and (SL+BON+VR) <= 2422.99) else 229.85 if ((SL+BON+VR) >= 2423 and (SL+BON+VR) <= 2446.99) else 233.8 if ((SL+BON+VR) >= 2447 and (SL+BON+VR) <= 2470.99) else 237.7 if ((SL+BON+VR) >= 2471 and (SL+BON+VR) <= 2494.99) else 241.7 if ((SL+BON+VR) >= 2495 and (SL+BON+VR) <= 2518.99) else 245.75 if ((SL+BON+VR) >= 2519 and (SL+BON+VR) <= 2542.99) else 249.85 if ((SL+BON+VR) >= 2543 and (SL+BON+VR) <= 2566.99) else 253.95 if ((SL+BON+VR) >= 2567 and (SL+BON+VR) <= 2590.99) else 258.05 if ((SL+BON+VR) >= 2591 and (SL+BON+VR) <= 2614.99) else 262.15 if ((SL+BON+VR) >= 2615 and (SL+BON+VR) <= 2638.99) else 266.25 if ((SL+BON+VR) >= 2639 and (SL+BON+VR) <= 2662.99) else 270.35 if ((SL+BON+VR) >= 2663 and (SL+BON+VR) <= 2686.99) else 274.4 if ((SL+BON+VR) >= 2687 and (SL+BON+VR) <= 2710.99) else 278.5 if ((SL+BON+VR) >= 2711 and (SL+BON+VR) <= 2734.99) else 282.6 if ((SL+BON+VR) >= 2735 and (SL+BON+VR) <= 2758.99) else 286.7 if ((SL+BON+VR) >= 2759 and (SL+BON+VR) <= 2782.99) else 290.8 if ((SL+BON+VR) >= 2783 and (SL+BON+VR) <= 2806.99) else 294.9 if ((SL+BON+VR) >= 2807 and (SL+BON+VR) <= 2830.99) else 299 if ((SL+BON+VR) >= 2831 and (SL+BON+VR) <= 2854.99) else 303.1 if ((SL+BON+VR) >= 2855 and (SL+BON+VR) <= 2878.99) else 307.15 if ((SL+BON+VR) >= 2879 and (SL+BON+VR) <= 2902.99) else 311.25 if ((SL+BON+VR) >= 2903 and (SL+BON+VR) <= 2926.99) else 315.35 if ((SL+BON+VR) >= 2927 and (SL+BON+VR) <= 2950.99) else 319.45 if ((SL+BON+VR) >= 2951 and (SL+BON+VR) <= 2974.99) else 323.55 if ((SL+BON+VR) >= 2975 and (SL+BON+VR) <= 2998.99) else 327.65 if ((SL+BON+VR) >= 2999 and (SL+BON+VR) <= 3022.99) else 331.75 if ((SL+BON+VR) >= 3023 and (SL+BON+VR) <= 3046.99) else 335.8 if ((SL+BON+VR) >= 3047 and (SL+BON+VR) <= 3070.99) else 339.9 if ((SL+BON+VR) >= 3071 and (SL+BON+VR) <= 3094.99) else 344 if ((SL+BON+VR) >= 3095 and (SL+BON+VR) <= 3118.99) else 348.1 if ((SL+BON+VR) >= 3119 and (SL+BON+VR) <= 3142.99) else 352.2 if ((SL+BON+VR) >= 3143 and (SL+BON+VR) <= 3166.99) else 356.3 if ((SL+BON+VR) >= 3167 and (SL+BON+VR) <= 3190.99) else 360.4 if ((SL+BON+VR) >= 3191 and (SL+BON+VR) <= 3214.99) else 364.5 if ((SL+BON+VR) >= 3215 and (SL+BON+VR) <= 3238.99) else 368.55 if ((SL+BON+VR) >= 3239 and (SL+BON+VR) <= 3262.99) else 372.65 if ((SL+BON+VR) >= 3263 and (SL+BON+VR) <= 3286.99) else 376.75 if ((SL+BON+VR) >= 3287 and (SL+BON+VR) <= 3310.99) else 380.85 if ((SL+BON+VR) >= 3311 and (SL+BON+VR) <= 3334.99) else 384.95 if ((SL+BON+VR) >= 3335 and (SL+BON+VR) <= 3358.99) else 389.05 if ((SL+BON+VR) >= 3359 and (SL+BON+VR) <= 3382.99) else 393.15 if ((SL+BON+VR) >= 3383 and (SL+BON+VR) <= 3406.99) else 397.25 if ((SL+BON+VR) >= 3407 and (SL+BON+VR) <= 3430.99) else 401.35 if ((SL+BON+VR) >= 3431 and (SL+BON+VR) <= 3454.99) else 405.45 if ((SL+BON+VR) >= 3455 and (SL+BON+VR) <= 3478.99) else 409.55 if ((SL+BON+VR) >= 3479 and (SL+BON+VR) <= 3502.99) else 414.35 if ((SL+BON+VR) >= 3503 and (SL+BON+VR) <= 3534.99) else 419.85 if ((SL+BON+VR) >= 3535 and (SL+BON+VR) <= 3566.99) else 425.3 if ((SL+BON+VR) >= 3567 and (SL+BON+VR) <= 3598.99) else 430.8 if ((SL+BON+VR) >= 3599 and (SL+BON+VR) <= 3630.99) else 436.25 if ((SL+BON+VR) >= 3631 and (SL+BON+VR) <= 3662.99) else 441.75 if ((SL+BON+VR) >= 3663 and (SL+BON+VR) <= 3694.99) else 447.25 if ((SL+BON+VR) >= 3695 and (SL+BON+VR) <= 3726.99) else 452.7 if ((SL+BON+VR) >= 3727 and (SL+BON+VR) <= 3758.99) else 458.2 if ((SL+BON+VR) >= 3759 and (SL+BON+VR) <= 3790.99) else 463.65 if ((SL+BON+VR) >= 3791 and (SL+BON+VR) <= 3822.99) else 469.15 if ((SL+BON+VR) >= 3823 and (SL+BON+VR) <= 3854.99) else 475.1 if ((SL+BON+VR) >= 3855 and (SL+BON+VR) <= 3886.99) else 482.05 if ((SL+BON+VR) >= 3887 and (SL+BON+VR) <= 3918.99) else 489 if ((SL+BON+VR) >= 3919 and (SL+BON+VR) <= 3950.99) else 495.95 if ((SL+BON+VR) >= 3951 and (SL+BON+VR) <= 3982.99) else 502.85 if ((SL+BON+VR) >= 3983 and (SL+BON+VR) <= 4014.99) else 509.8 if ((SL+BON+VR) >= 4015 and (SL+BON+VR) <= 4046.99) else 516.75 if ((SL+BON+VR) >= 4047 and (SL+BON+VR) <= 4078.99) else 523.7 if ((SL+BON+VR) >= 4079 and (SL+BON+VR) <= 4110.99) else 530.65 if ((SL+BON+VR) >= 4111 and (SL+BON+VR) <= 4142.99) else 537.6 if ((SL+BON+VR) >= 4143 and (SL+BON+VR) <= 4174.99) else 544.55 if ((SL+BON+VR) >= 4175 and (SL+BON+VR) <= 4206.99) else 551.5 if ((SL+BON+VR) >= 4207 and (SL+BON+VR) <= 4238.99) else 558.45 if ((SL+BON+VR) >= 4239 and (SL+BON+VR) <= 4270.99) else 565.4 if ((SL+BON+VR) >= 4271 and (SL+BON+VR) <= 4302.99) else 572.35 if ((SL+BON+VR) >= 4303 and (SL+BON+VR) <= 4334.99) else 579.3 if ((SL+BON+VR) >= 4335 and (SL+BON+VR) <= 4366.99) else 586.25 if ((SL+BON+VR) >= 4367 and (SL+BON+VR) <= 4398.99) else 593.2 if ((SL+BON+VR) >= 4399 and (SL+BON+VR) <= 4430.99) else 600.15 if ((SL+BON+VR) >= 4431 and (SL+BON+VR) <= 4462.99) else 607.1 if ((SL+BON+VR) >= 4463 and (SL+BON+VR) <= 4494.99) else 614.05 if ((SL+BON+VR) >= 4495 and (SL+BON+VR) <= 4526.99) else 621 if ((SL+BON+VR) >= 4527 and (SL+BON+VR) <= 4558.99) else 627.9 if ((SL+BON+VR) >= 4559 and (SL+BON+VR) <= 4590.99) else 634.85 if ((SL+BON+VR) >= 4591 and (SL+BON+VR) <= 4622.99) else 641.8 if ((SL+BON+VR) >= 4623 and (SL+BON+VR) <= 4654.99) else 648.75 if ((SL+BON+VR) >= 4655 and (SL+BON+VR) <= 4686.99) else 655.7 if ((SL+BON+VR) >= 4687 and (SL+BON+VR) <= 4718.99) else 662.65 if ((SL+BON+VR) >= 4719 and (SL+BON+VR) <= 4750.99) else 669.6 if ((SL+BON+VR) >= 4751 and (SL+BON+VR) <= 4782.99) else 676.55 if ((SL+BON+VR) >= 4783 and (SL+BON+VR) <= 4814.99) else 683.5 if ((SL+BON+VR) >= 4815 and (SL+BON+VR) <= 4846.99) else 690.45 if ((SL+BON+VR) >= 4847 and (SL+BON+VR) <= 4878.99) else 697.4 if ((SL+BON+VR) >= 4879 and (SL+BON+VR) <= 4910.99) else 704.35 if ((SL+BON+VR) >= 4911 and (SL+BON+VR) <= 4942.99) else 711.3 if ((SL+BON+VR) >= 4943 and (SL+BON+VR) <= 4974.99) else 718.25 if ((SL+BON+VR) >= 4975 and (SL+BON+VR) <= 5006.99) else 725.2 if ((SL+BON+VR) >= 5007 and (SL+BON+VR) <= 5038.99) else 732.15 if ((SL+BON+VR) >= 5039 and (SL+BON+VR) <= 5070.99) else 739.1 if ((SL+BON+VR) >= 5071 and (SL+BON+VR) <= 5102.99) else 746.05 if ((SL+BON+VR) >= 5103 and (SL+BON+VR) <= 5134.99) else 752.95 if ((SL+BON+VR) >= 5135 and (SL+BON+VR) <= 5166.99) else 759.9 if ((SL+BON+VR) >= 5167 and (SL+BON+VR) <= 5198.99) else 766.85 if ((SL+BON+VR) >= 5199 and (SL+BON+VR) <= 5230.99) else 773.8 if ((SL+BON+VR) >= 5231 and (SL+BON+VR) <= 5262.99) else 781.65 if ((SL+BON+VR) >= 5263 and (SL+BON+VR) <= 5302.99) else 790.3 if ((SL+BON+VR) >= 5303 and (SL+BON+VR) <= 5342.99) else 799 if ((SL+BON+VR) >= 5343 and (SL+BON+VR) <= 5382.99) else 807.7 if ((SL+BON+VR) >= 5383 and (SL+BON+VR) <= 5422.99) else 816.35 if ((SL+BON+VR) >= 5423 and (SL+BON+VR) <= 5462.99) else 825.05 if ((SL+BON+VR) >= 5463 and (SL+BON+VR) <= 5502.99) else 833.75 if ((SL+BON+VR) >= 5503 and (SL+BON+VR) <= 5542.99) else 842.4 if ((SL+BON+VR) >= 5543 and (SL+BON+VR) <= 5582.99) else 851.1 if ((SL+BON+VR) >= 5583 and (SL+BON+VR) <= 5622.99) else 859.8 if ((SL+BON+VR) >= 5623 and (SL+BON+VR) <= 5662.99) else 868.45 if ((SL+BON+VR) >= 5663 and (SL+BON+VR) <= 5702.99) else 877.15 if ((SL+BON+VR) >= 5703 and (SL+BON+VR) <= 5742.99) else 885.85 if ((SL+BON+VR) >= 5743 and (SL+BON+VR) <= 5782.99) else 894.5 if ((SL+BON+VR) >= 5783 and (SL+BON+VR) <= 5822.99) else 903.2 if ((SL+BON+VR) >= 5823 and (SL+BON+VR) <= 5862.99) else 911.9 if ((SL+BON+VR) >= 5863 and (SL+BON+VR) <= 5902.99) else 920.55 if ((SL+BON+VR) >= 5903 and (SL+BON+VR) <= 5942.99) else 929.25 if ((SL+BON+VR) >= 5943 and (SL+BON+VR) <= 5982.99) else 938.45 if ((SL+BON+VR) >= 5983 and (SL+BON+VR) <= 6022.99) else 948.25 if ((SL+BON+VR) >= 6023 and (SL+BON+VR) <= 6062.99) else 958.05 if ((SL+BON+VR) >= 6063 and (SL+BON+VR) <= 6102.99) else 967.85 if ((SL+BON+VR) >= 6103 and (SL+BON+VR) <= 6142.99) else 977.7 if ((SL+BON+VR) >= 6143 and (SL+BON+VR) <= 6182.99) else 987.5 if ((SL+BON+VR) >= 6183 and (SL+BON+VR) <= 6222.99) else 997.3 if ((SL+BON+VR) >= 6223 and (SL+BON+VR) <= 6262.99) else 1007.1 if ((SL+BON+VR) >= 6263 and (SL+BON+VR) <= 6302.99) else 1016.95 if ((SL+BON+VR) >= 6303 and (SL+BON+VR) <= 6342.99) else 1026.75 if ((SL+BON+VR) >= 6343 and (SL+BON+VR) <= 6382.99) else 1036.55 if ((SL+BON+VR) >= 6383 and (SL+BON+VR) <= 6422.99) else 1046.35 if ((SL+BON+VR) >= 6423 and (SL+BON+VR) <= 6462.99) else 1056.2 if ((SL+BON+VR) >= 6463 and (SL+BON+VR) <= 6502.99) else 1066 if ((SL+BON+VR) >= 6503 and (SL+BON+VR) <= 6542.99) else 1075.8 if ((SL+BON+VR) >= 6543 and (SL+BON+VR) <= 6582.99) else 1085.6 if ((SL+BON+VR) >= 6583 and (SL+BON+VR) <= 6622.99) else 1095.45 if ((SL+BON+VR) >= 6623 and (SL+BON+VR) <= 6662.99) else 1105.25 if ((SL+BON+VR) >= 6663 and (SL+BON+VR) <= 6702.99) else 1115.05 if ((SL+BON+VR) >= 6703 and (SL+BON+VR) <= 6742.99) else 1124.9 if ((SL+BON+VR) >= 6743 and (SL+BON+VR) <= 6782.99) else 1134.7 if ((SL+BON+VR) >= 6783 and (SL+BON+VR) <= 6822.99) else 1144.5 if ((SL+BON+VR) >= 6823 and (SL+BON+VR) <= 6862.99) else 1154.3 if ((SL+BON+VR) >= 6863 and (SL+BON+VR) <= 6902.99) else 1164.15 if ((SL+BON+VR) >= 6903 and (SL+BON+VR) <= 6942.99) else 1173.95 if ((SL+BON+VR) >= 6943 and (SL+BON+VR) <= 6982.99) else 1183.75 if ((SL+BON+VR) >= 6983 and (SL+BON+VR) <= 7022.99) else 1193.55 if ((SL+BON+VR) >= 7023 and (SL+BON+VR) <= 7062.99) else 1203.4 if ((SL+BON+VR) >= 7063 and (SL+BON+VR) <= 7102.99) else 1213.2 if ((SL+BON+VR) >= 7103 and (SL+BON+VR) <= 7142.99) else 1223 if ((SL+BON+VR) >= 7143 and (SL+BON+VR) <= 7182.99) else 1232.8 if ((SL+BON+VR) >= 7183 and (SL+BON+VR) <= 7222.99) else 1242.65 if ((SL+BON+VR) >= 7223 and (SL+BON+VR) <= 7262.99) else 1252.45 if ((SL+BON+VR) >= 7263 and (SL+BON+VR) <= 7302.99) else 1262.25 if ((SL+BON+VR) >= 7303 and (SL+BON+VR) <= 7342.99) else 1272.1 if ((SL+BON+VR) >= 7343 and (SL+BON+VR) <= 7382.99) else 1281.9 if ((SL+BON+VR) >= 7383 and (SL+BON+VR) <= 7422.99) else 1291.7 if ((SL+BON+VR) >= 7423 and (SL+BON+VR) <= 7462.99) else 1302.5 if ((SL+BON+VR) >= 7463 and (SL+BON+VR) <= 7510.99) else 1314.25 if ((SL+BON+VR) >= 7511 and (SL+BON+VR) <= 7558.99) else 1326.05 if ((SL+BON+VR) >= 7559 and (SL+BON+VR) <= 7606.99) else 1337.85 if ((SL+BON+VR) >= 7607 and (SL+BON+VR) <= 7654.99) else 1349.6 if ((SL+BON+VR) >= 7655 and (SL+BON+VR) <= 7702.99) else 1361.4 if ((SL+BON+VR) >= 7703 and (SL+BON+VR) <= 7750.99) else 1373.15 if ((SL+BON+VR) >= 7751 and (SL+BON+VR) <= 7798.99) else 1384.95 if ((SL+BON+VR) >= 7799 and (SL+BON+VR) <= 7846.99) else 1396.7 if ((SL+BON+VR) >= 7847 and (SL+BON+VR) <= 7894.99) else 1408.5 if ((SL+BON+VR) >= 7895 and (SL+BON+VR) <= 7942.99) else 1420.25 if ((SL+BON+VR) >= 7943 and (SL+BON+VR) <= 7990.99) else 1432.05 if ((SL+BON+VR) >= 7991 and (SL+BON+VR) <= 8038.99) else 1443.8 if ((SL+BON+VR) >= 8039 and (SL+BON+VR) <= 8086.99) else 1455.6 if ((SL+BON+VR) >= 8087 and (SL+BON+VR) <= 8134.99) else 1467.35 if ((SL+BON+VR) >= 8135 and (SL+BON+VR) <= 8182.99) else 1479.15 if ((SL+BON+VR) >= 8183 and (SL+BON+VR) <= 8230.99) else 1490.9 if ((SL+BON+VR) >= 8231 and (SL+BON+VR) <= 8278.99) else 1502.7 if ((SL+BON+VR) >= 8279 and (SL+BON+VR) <= 8326.99) else 1514.45 if ((SL+BON+VR) >= 8327 and (SL+BON+VR) <= 8374.99) else 1526.25 if ((SL+BON+VR) >= 8375 and (SL+BON+VR) <= 8422.99) else 1538 if ((SL+BON+VR) >= 8423 and (SL+BON+VR) <= 8470.99) else 1549.8 if ((SL+BON+VR) >= 8471 and (SL+BON+VR) <= 8518.99) else 1562.05 if ((SL+BON+VR) >= 8519 and (SL+BON+VR) <= 8566.99) else 1575.3 if ((SL+BON+VR) >= 8567 and (SL+BON+VR) <= 8614.99) else 1588.5 if ((SL+BON+VR) >= 8615 and (SL+BON+VR) <= 8662.99) else 1601.75 if ((SL+BON+VR) >= 8663 and (SL+BON+VR) <= 8710.99) else 1614.95 if ((SL+BON+VR) >= 8711 and (SL+BON+VR) <= 8758.99) else 1628.2 if ((SL+BON+VR) >= 8759 and (SL+BON+VR) <= 8806.99) else 1641.4 if ((SL+BON+VR) >= 8807 and (SL+BON+VR) <= 8854.99) else 1654.65 if ((SL+BON+VR) >= 8855 and (SL+BON+VR) <= 8902.99) else 1667.85 if ((SL+BON+VR) >= 8903 and (SL+BON+VR) <= 8950.99) else 1681.1 if ((SL+BON+VR) >= 8951 and (SL+BON+VR) <= 8998.99) else 1694.3 if ((SL+BON+VR) >= 8999 and (SL+BON+VR) <= 9046.99) else 1707.55 if ((SL+BON+VR) >= 9047 and (SL+BON+VR) <= 9094.99) else 1720.75 if ((SL+BON+VR) >= 9095 and (SL+BON+VR) <= 9142.99) else 1734 if ((SL+BON+VR) >= 9143 and (SL+BON+VR) <= 9190.99) else 1747.25 if ((SL+BON+VR) >= 9191 and (SL+BON+VR) <= 9238.99) else 1760.45 if ((SL+BON+VR) >= 9239 and (SL+BON+VR) <= 9286.99) else 1773.7 if ((SL+BON+VR) >= 9287 and (SL+BON+VR) <= 9334.99) else 1786.9 if ((SL+BON+VR) >= 9335 and (SL+BON+VR) <= 9382.99) else 1800.15 if ((SL+BON+VR) >= 9383 and (SL+BON+VR) <= 9430.99) else 1813.35 if ((SL+BON+VR) >= 9431 and (SL+BON+VR) <= 9478.99) else 1826.6 if ((SL+BON+VR) >= 9479 and (SL+BON+VR) <= 9526.99) else 1839.8 if ((SL+BON+VR) >= 9527 and (SL+BON+VR) <= 9574.99) else 1853.05 if ((SL+BON+VR) >= 9575 and (SL+BON+VR) <= 9622.99) else 1866.25 if ((SL+BON+VR) >= 9623 and (SL+BON+VR) <= 9670.99) else 1879.5 if ((SL+BON+VR) >= 9671 and (SL+BON+VR) <= 9718.99) else 1892.7 if ((SL+BON+VR) >= 9719 and (SL+BON+VR) <= 9766.99) else 1905.95 if ((SL+BON+VR) >= 9767 and (SL+BON+VR) <= 9814.99) else 1919.15 if ((SL+BON+VR) >= 9815 and (SL+BON+VR) <= 9862.99) else 1932.4 if ((SL+BON+VR) >= 9863 and (SL+BON+VR) <= 9910.99) else 1945.6 if ((SL+BON+VR) >= 9911 and (SL+BON+VR) <= 9958.99) else 1958.85 if ((SL+BON+VR) >= 9959 and (SL+BON+VR) <= 10006.99) else 1972.05 if ((SL+BON+VR) >= 10007 and (SL+BON+VR) <= 10054.99) else 1985.3