range

BigB77

New Member
Joined
Feb 12, 2016
Messages
20
Hello All,
What formula would I use to accomplish the below.

If A1 is 1.5 to 1.9 bring back 101
If A1 is 2.0 to 2.4 bring back 111
If A1 is 2.5 to 2.9 bring back 121

This goes on for a while.
Can you please 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.
=if(a1>=1.5,101+((int(a1*2)/2)-1.5)*20,"")
 
Last edited:
Upvote 0
I was thinking of a similar logic too.
Assuming
0 - 0.4 = 71
0.5 - 0.9 = 81
1 - 1.4 = 91


=71+INT(A1/0.5)*10
 
Upvote 0

Forum statistics

Threads
1,226,117
Messages
6,189,061
Members
453,524
Latest member
AshJames

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