Multiple "IF" statement

Wadecb7

New Member
Joined
Sep 29, 2010
Messages
8
Good Morning

I need to do a multiple "IF" statement and have no clue how to do it.

Please help

E.g:

3500 up = 1
1000 - 3499 = 2
350 - 999 = 3
100 - 349 = 4
0 - 99 = 5

Thanks
 

Some videos you may like

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Trebor76

Well-known Member
Joined
Jul 23, 2007
Messages
4,735
Hi there,

Though you could use a nested IF statement, try this (just change the cell reference to suit):

=IF(ISNUMBER(A31)=TRUE,LOOKUP(A31,{0,100,350,1000,3500},{5,4,3,2,1}),0)

Regards,

Robert
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
48,400
Office Version
  1. 365
Platform
  1. Windows
Or, similar idea to Robert but make the 'lookup table' in your sheet rather than in the formula itself. Formula in B2 is copied down.

Excel Workbook
ABCDE
1
2286405
3421611004
42153503
510002
635001
7
Lookup Table
 

Watch MrExcel Video

Forum statistics

Threads
1,127,521
Messages
5,625,296
Members
416,089
Latest member
Captkraken33

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