3 condition IF statement help needed

Alex D

Board Regular
Joined
Apr 28, 2020
Messages
50
Office Version
  1. 365
Platform
  1. Windows
Need help with formula that will go in column B please...

IF column A is equal to or greater than 370, then I want the result to be Column A x 0.90
IF column A is equal to or less than 336, then I want the result to be the same value as in column A
IF column A is anything else other than those 2 conditions, then I want Column A to be 336


AB
150
378
345
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
TRy
Excel Formula:
=IF(A2<=336,A2,IF(A2<370,336,A2*0.9))
 
Upvote 0
Another option
Excel Formula:
=IF(A2>=370,A2*0.9,MIN(A2,336))
 
Upvote 0

Forum statistics

Threads
1,226,112
Messages
6,189,039
Members
453,521
Latest member
Chris_Hed

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