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?
 

Some videos you may like

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
55,916
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
12,594
Office Version
  1. 2007
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})
 

Watch MrExcel Video

Forum statistics

Threads
1,122,462
Messages
5,596,280
Members
414,051
Latest member
tabecker

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