Help with an IF formula

visionate

New Member
Joined
Dec 21, 2016
Messages
5
I'm not the best with excel and I am trying to put together the the following formula, can someone let me know where I have gone wrong?

=IF(AF43<=AE10,AF43*0.15,IF(AND(AF43>AE10,AF43<=AE11),AF43*0.25,IF(AF43>AE11,AF43<=AE12),AF43*0.30,IF(AF43>AE12),AF43*0.35,"")))

What I need to achieve:

If A1 is between this value and this value, then times it by this percentage. Here is the table it applies to:

£5000 - £10,000
times by 15%
£10,001 - £20,000
times by 25%
£20,001 - £30,000
times by 30%
£30,001 +
times by 35%

<tbody>
</tbody>






I have put these values in field in excel but it would be even better if they could be in the formula.

Look forward to your help.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Try this instead:

=AF3*LOOKUP(AF3,{0,5000,10001,20001,30001},{0,0.15,0.25,0.3,0.35})
 
Upvote 0
try, I've assumed 0 for less than 5000, adjust accordingly

=LOOKUP(AF43,{0,5000,10001,20001,30001},{0,0.15,0.25,0.3,0.35})*AF43
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,199
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top