Help with combining IF statements.

de8212

Board Regular
Joined
Apr 30, 2002
Messages
81
I want the user to enter a number in cell c10. If the number is less than 10000 I want the value in C10 multiplied by 1.55. If the number in c10 is between 10001 and 29999 I want the value in c10 to be multiplied by 2.15. If the value in c10 is between 30000 and 49999 I want the value in c10 to be multiplied by 3.12. Lastly if the value in c10 is greater than 50000 I want it to be multiplied by 4.23.

Here is an If statemnet that handles only the firtst part of my quesiton.
=IF(C10<9999,C10*1.55)
DO I just make multiple If statements and somehow combine them? If so how do I do the between (ie 10001 - 29999) values?


Thanks for any help.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Create a lookup table with the lower limit in the first column and the multiplied value in the second column.

Or, do to it in one cell,
=C10*VLOOKUP(C10, {0,1.55;10001,2.15;30000,3.12;50000,4.23},2 )

Assuming a lower limit of 0 for your data.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
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