Show different result based on value in another cell

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
439
Office Version
  1. 2013
Platform
  1. Windows
I'm trying to assign a value in H3, H4, H5, etc. based on data on G3, G4, G5, etc. I currently have this formula in H3:

=IF(G3>30,5) and if the value in G3 is greater than 30, H3 displays 5. If the value is less, it displays FALSE.

What I need is a formula that will look in G3 and if the value is between 0 and 5, H3 will display 1. If the value is between 5 and 15, it will display 2. Between 15 and 30 it will display 3. Between 30 an 50 it will display 4 and greater than 50, display 5. I don't mind changing "5" to "4.999" or "5.001" or similar,

Thanks in advance
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,215,359
Messages
6,124,488
Members
449,165
Latest member
ChipDude83

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