Help, I need to write this as a formula in Excel
Below £30.multiply by 5.25% , Above £30,the first £30 multiply by
5.25%,then the remainder multiply by 3.25% ,Hope this makes sense,
Thanks Woodie
Bob Phillips - 18 Jun 2006 10:34 GMT
=MIN(A1,30)*5.25%+MAX(0,A1-30)*3.25%

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
Help, I need to write this as a formula in Excel
Below £30.multiply by 5.25% , Above £30,the first £30 multiply by
5.25%,then the remainder multiply by 3.25% ,Hope this makes sense,
Thanks Woodie
macropod - 18 Jun 2006 10:41 GMT
hi Woodie,
For a value in A1:
=MIN(A1^1,30)*0.0525+(A1>30)*(A1-30)*0.0325
The ^1 suppresses an otherwise erroneous result if A1 is empty. You'll still
get an error if A1 has text, though.
Cheers

Signature
macropod
[MVP - Microsoft Word]
Help, I need to write this as a formula in Excel
Below £30.multiply by 5.25% , Above £30,the first £30 multiply by
5.25%,then the remainder multiply by 3.25% ,Hope this makes sense,
Thanks Woodie
Dana DeLouis - 18 Jun 2006 13:53 GMT
Just another option:
=MIN(A1*5.25%,A1*3.25%+0.6)

Signature
HTH. :>)
Dana DeLouis
Windows XP, Office 2003
Help, I need to write this as a formula in Excel
Below £30.multiply by 5.25% , Above £30,the first £30 multiply by
5.25%,then the remainder multiply by 3.25% ,Hope this makes sense,
Thanks Woodie