Hi guys,
Im working on some sort of a system for my brothers company and i am a bit stuck on something.
This is on the payrole system.
So..
Ive got a cell that calculates the salary but my brothers company is doing something called retention. What this means is that 4% of the wages gows to a "pot" with the maximum of £400. When it gets to £400 the driver can ask for that money any time in case of emergency.
Now..
Ive done the calculations with the percenteges. but im struggling with the if condition that i need to make on the calculation bit.
Example
[TABLE="width: 743"]
<tbody>[TR]
[TD="width: 175"]Retention up to date @ 4%[/TD]
[TD="width: 64"][/TD]
[TD="width: 145"]pay without retention[/TD]
[TD="width: 64"][/TD]
[TD="width: 107"]Retention value[/TD]
[TD="width: 64"][/TD]
[TD="width: 124"]Pay with retention[/TD]
[/TR]
[TR]
[TD="align: right"]£306.72[/TD]
[TD][/TD]
[TD="align: right"]£600.00[/TD]
[TD][/TD]
[TD="align: right"]£24.00[/TD]
[TD][/TD]
[TD="align: right"]£576.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£952.00[/TD]
[TD][/TD]
[TD="align: right"]£38.08[/TD]
[TD][/TD]
[TD="align: right"]£913.92[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£877.00[/TD]
[TD][/TD]
[TD="align: right"]£35.08[/TD]
[TD][/TD]
[TD="align: right"]£841.92[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£688.00[/TD]
[TD][/TD]
[TD="align: right"]£27.52[/TD]
[TD][/TD]
[TD="align: right"]£660.48[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£999.00[/TD]
[TD][/TD]
[TD="align: right"]£39.96[/TD]
[TD][/TD]
[TD="align: right"]£959.04[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£999.00[/TD]
[TD][/TD]
[TD="align: right"]£39.96[/TD]
[TD][/TD]
[TD="align: right"]£959.04[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£999.00[/TD]
[TD][/TD]
[TD="align: right"]£39.96[/TD]
[TD][/TD]
[TD="align: right"]£959.04[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£999.00[/TD]
[TD][/TD]
[TD="align: right"]£39.96[/TD]
[TD][/TD]
[TD="align: right"]£959.04[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£555.00[/TD]
[TD][/TD]
[TD="align: right"]£22.20[/TD]
[TD][/TD]
[TD="align: right"]£532.80[/TD]
[/TR]
</tbody>[/TABLE]
The idea is to get a formula that allows me to stop any deductions from the pay when the retention up to date gets to £400.
I really appreciate your time for this.
Thanks guys.
Im working on some sort of a system for my brothers company and i am a bit stuck on something.
This is on the payrole system.
So..
Ive got a cell that calculates the salary but my brothers company is doing something called retention. What this means is that 4% of the wages gows to a "pot" with the maximum of £400. When it gets to £400 the driver can ask for that money any time in case of emergency.
Now..
Ive done the calculations with the percenteges. but im struggling with the if condition that i need to make on the calculation bit.
Example
[TABLE="width: 743"]
<tbody>[TR]
[TD="width: 175"]Retention up to date @ 4%[/TD]
[TD="width: 64"][/TD]
[TD="width: 145"]pay without retention[/TD]
[TD="width: 64"][/TD]
[TD="width: 107"]Retention value[/TD]
[TD="width: 64"][/TD]
[TD="width: 124"]Pay with retention[/TD]
[/TR]
[TR]
[TD="align: right"]£306.72[/TD]
[TD][/TD]
[TD="align: right"]£600.00[/TD]
[TD][/TD]
[TD="align: right"]£24.00[/TD]
[TD][/TD]
[TD="align: right"]£576.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£952.00[/TD]
[TD][/TD]
[TD="align: right"]£38.08[/TD]
[TD][/TD]
[TD="align: right"]£913.92[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£877.00[/TD]
[TD][/TD]
[TD="align: right"]£35.08[/TD]
[TD][/TD]
[TD="align: right"]£841.92[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£688.00[/TD]
[TD][/TD]
[TD="align: right"]£27.52[/TD]
[TD][/TD]
[TD="align: right"]£660.48[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£999.00[/TD]
[TD][/TD]
[TD="align: right"]£39.96[/TD]
[TD][/TD]
[TD="align: right"]£959.04[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£999.00[/TD]
[TD][/TD]
[TD="align: right"]£39.96[/TD]
[TD][/TD]
[TD="align: right"]£959.04[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£999.00[/TD]
[TD][/TD]
[TD="align: right"]£39.96[/TD]
[TD][/TD]
[TD="align: right"]£959.04[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£999.00[/TD]
[TD][/TD]
[TD="align: right"]£39.96[/TD]
[TD][/TD]
[TD="align: right"]£959.04[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]£555.00[/TD]
[TD][/TD]
[TD="align: right"]£22.20[/TD]
[TD][/TD]
[TD="align: right"]£532.80[/TD]
[/TR]
</tbody>[/TABLE]
The idea is to get a formula that allows me to stop any deductions from the pay when the retention up to date gets to £400.
I really appreciate your time for this.
Thanks guys.