I need to have a function that works out retention from each progress claim when the retention is deducted at rate of 10% of contract value until 5% of the contract value is reached with the relevant progress claim showing any balance retention figure up to the Max claimable 5%. The formula I have been trying to sort out is listed where
F29 - the total of all progress claim invoiced at that time
G9 - 10%
L10 - total contract value to work out max 5%
G8 - 5%
F14 - current progress claim amount to have the formula work on
=IF($F$29*$G$9<=$L$10*$G$8,F14*$G$9,IF($F$29*$G$9>$L$10*$G$8,F14*$G$8))
Any help is greatly appreciated.
F29 - the total of all progress claim invoiced at that time
G9 - 10%
L10 - total contract value to work out max 5%
G8 - 5%
F14 - current progress claim amount to have the formula work on
=IF($F$29*$G$9<=$L$10*$G$8,F14*$G$9,IF($F$29*$G$9>$L$10*$G$8,F14*$G$8))
Any help is greatly appreciated.