I am trying to create a table that allows the user to enter in number of kilometers they drive and it multiplies by a certain rate: 0.4, 0.6, 0.2, 0.8 depending on the total number of kilometers they have driven.
=IF(DB_TOTAL_KILOMETERS<1501,0.3986,IF(DB_TOTAL_KILOMETERS<5501,0.7321,IF(DB_TOTAL_KILOMETERS<25001,0.2903,0.2223)))
This works but when calculating the total, once the rate switches to the next, all the previous values are updated to be calculated with the current rate.
Here is where it is being calculated:
=SUM(PRODUCT(BAND_RATE, INDEX(MILEAGE_EXPENSE_CLAIM.KILOMETERS,ROW()))).
*happening within a table*
Is the any way of making the already calculated row field values FINAL and not change as i have to get the total of all subtotals also?