Need IF statement but not sure how or which to use

Capsaicin Burn

New Member
Joined
Jan 26, 2018
Messages
38
I need to determine if a cell is greater than a number then perform one calculation and if its less than then perform a another calculation.

Example:

If A1 is less than or equal to 500 then subtract 200 and multiply it by 10% or .10

If A1 is greater than 500 then subtract 250 and multiply it by 12% or .12

All numbers could be cell references or just numbers.

All of my google searches are to vague to help he with this. Most of what I find tells me how to display text based on cell values.

As always, any help is greatly appreciated.

Jim
 
Last edited:

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.
=if(a1<=500,(a1-200)*0.1,(a1-250)*0.12)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,504
Messages
6,114,016
Members
448,543
Latest member
MartinLarkin

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