What is the best function?

Paully03

New Member
Joined
Jul 6, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I would like to calculate tax in excel. However, the percentage of tax that a customer would pay is dependent on the purchase price.
less than $40000%
$4000-$10,0003.5%
$10,000 or more 6.5%

how would I enter the function To calculate if I enter the amount in excel it will 1) choose the correct percentage based off the chart above and 2) (if at feasible) calculate that chosen percentage with the purchase price.

thank you 😊
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Welcome to the MrExcel board!

Is this the sort of thing you are after?

22 07 07.xlsm
ABCDEF
1PriceTaxBaseTax Rate
24350.00152.2500%
388.900.0040003.50%
415000.00975.00100006.50%
Tax
Cell Formulas
RangeFormula
B2:B4B2=XLOOKUP(A2,E$2:E$4,F$2:F$4,,-1)*A2
 
Upvote 0

Forum statistics

Threads
1,215,343
Messages
6,124,400
Members
449,156
Latest member
LSchleppi

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