I am trying to find a formula that will calculate the total value of a number of units, where there are different band rates that all need to be applied.
For example, I need to find the total of 385002 units.
50000 of the units are charged at £1 per unit, The next 49999 are charged at £0.9 per unit and so on. That would leave 10002 units to be charged in the lowest band.
Everything in black below is what I need on the spreadsheet, the red is just me showing the example of how it needs to calculate. I would like the outcome in cell G under total.
I have tried playing with varied iterations of "IF" and "Sumproduct" but I can't get anything to work when it gets over 1000001 units.
Any advice is appreciated, thanks
For example, I need to find the total of 385002 units.
50000 of the units are charged at £1 per unit, The next 49999 are charged at £0.9 per unit and so on. That would leave 10002 units to be charged in the lowest band.
Everything in black below is what I need on the spreadsheet, the red is just me showing the example of how it needs to calculate. I would like the outcome in cell G under total.
I have tried playing with varied iterations of "IF" and "Sumproduct" but I can't get anything to work when it gets over 1000001 units.
Any advice is appreciated, thanks