IF Formulas

Paulcassin

New Member
Joined
Oct 25, 2018
Messages
6
How do I write the following excel formula:
If B3 < 15 then the following applies 25*2=50
AND IF B3 > 15 but < 25 then the following applies (25*3)
AND IF B3 > 25 but <50 then the following applies (25*3) + ((B3-25) *2
AND IF B3>50 but < 100 then the following applies
(25*3) + ((B3-25) *1.6
AND IF B3>100 but < 200 then the following applies (25*3) + ((B3-25) *1.4
AND IF B3>200 but < 600 then the following applies (25*3) + ((B3-25) *1.1?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
There might be a better way, but we'd need more info on the actual data

Code:
=IF(B3<15,50,IF(B3<25,75,IF(B3<50,75+(B3-25)*2,IF(B3<100,75+(B3-25)*1.6,IF(B3<200,75+(B3-25)*1.4,75+B3-25)*1.7))))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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