How do I write this formula in Excel?

  • Thread starter Thread starter woodie
  • Start date Start date
W

woodie

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
 
=MIN(A1,30)*5.25%+MAX(0,A1-30)*3.25%

--
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
 
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

--
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
 
Just another option:

=MIN(A1*5.25%,A1*3.25%+0.6)

--
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top