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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,357
Office Version
  1. 365
Platform
  1. Windows
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})
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
14,800
Office Version
  1. 2010
Platform
  1. Windows
If you want to compare a smaller number of zeros:

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

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,422
Messages
5,837,149
Members
430,478
Latest member
masoodb1358

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
Top