Function for returning a calculated answer meeting a certain criteria

dkings

New Member
Joined
Oct 21, 2017
Messages
1
Hello all!

I am an extreme novice at MSOE, and trying to figure out a formula that looks for certain criteria, and if that certain criteria is met in one particular cell, then it uses the criteria as a part in the calculation for an answer in the cell it is to be calculated in...this is for specifically, calculating taxes withdrawn from the gross income if the gross meets the criteria for a certain tax bracket...for example:

if the gross= greater than $44 but is less than $224, then the gross is multiplied by .10 to return the answer. So, if gross is $60, then the formula returns the value of $6 for withholding. If gross=greater than $224 but is less than $774, then the gross is multiplied by .15 to return the answer ($300*.15=$45 to be withdrawn) etc, etc.

so far i have the following formula:
=IF(J27<44,J27>224,0.1*J27)

i cannot add any more tiers, because excel tells me there's too many arguments, so i am stuck on only having this ONE calculation return an answer. i have tried the following:
=IF(J27<44,J27>224,0.1*J27, IF(J27<224, J27>774,J27*.15,IF(J27<774,J27>1812,J27*.25)))
AGAIN, using the above formula, Excel tells me there's too many arguments.

How do i accomplish my mission???

someone on stack exchange suggested for me to link a tax table and use VLOOKUP, or to make another sheet with the values set for indexing and VLOOKUP, but i cannot do that. the file is already almost too big to email, and i am having enough trouble trying to understand how to work with excel, as I only use it for simple things mostly.

please do not be insulting or degrading to me in answering this question. again, i am trying to learn here. Please keep in mind, i likely don't understand a lot of "excel talk".

 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
3 alternatives


Excel 2010
ABCDE
1300.0045.00BracketRate
245.0000%
345.004410%
422415%
577420%
6
1a
Cell Formulas
RangeFormula
B1=LOOKUP(A1,D2:E5)*A1
B2=LOOKUP(A1,{0,0;44,0.1;224,0.15;774,0.2})*A1
B3=(A1>44)*(A1*0.1)+(A1>224)*(A1*0.05)
 
Upvote 0
Pick the formula that you prefer.
This message includes an example with the "If" structure.



Excel 2010
ABCDE
1300.0045.00BracketRate
245.0000%
345.004410%
445.0022415%
577420%
1a
Cell Formulas
RangeFormula
B1=LOOKUP(A1,D2:E5)*A1
B2=LOOKUP(A1,{0,0;44,0.1;224,0.15;774,0.2})*A1
B3=(A1>44)*(A1*0.1)+(A1>224)*(A1*0.05)+(A1>774)*(A1*0.05)
B4=IF(A1>774,0.2,IF(A1>224,0.15,IF(A1>44,0.1,0)))*A1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,978
Messages
6,175,755
Members
452,667
Latest member
vanessavalentino83

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