Extended Formula (maybe If,then with multiple ANDs/ORs)

jtothej

New Member
Joined
Jan 6, 2014
Messages
9
I need a formula that can support this statement...

<$1M 30 points
$1M - $2M 60 points
$2M - $4M 90 points
$4M - $7M 120 points
$7M+ 150 points

Can anyone help?
 

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.
Here are a few different ways.

If the amount you are checking is in cell A1, then this nested IF statement would work:
IF(A1>=7000000,150,IF(A1>=4000000,120,IF(A1>=2000000,90,IF(A1>=1000000,60,30))))

Or you can use LOOKUP, like this:
=LOOKUP(A1,{0,1000000,2000000,4000000,7000000},{30,60,90,120,150})
 
Upvote 0
If you want to compare a smaller number of zeros:

=LOOKUP(A1/1000000,{0,1,2,4,7},{30,60,90,120,150})
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,857
Members
449,051
Latest member
excelquestion515

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