Help tightening up a formula

Obied70

Board Regular
Joined
Nov 4, 2015
Messages
177
Office Version
  1. 365
Platform
  1. Windows
Hey All,
This formula is really simple but way too long. There must be a way to make it shorter but I'm not smart enough to do it. Any help would be great!

=IF(ISBLANK(I2),"BLANK",IF(I2<=-0.3,"(30%)+",IF(AND(I2>=-0.25,I2<=-0.3),"(30%)-(25%)",IF(AND(I2>=-0.25,I2<=-0.2),"(25%)-(20%)",IF(AND(I2>=-0.2,I2<=-0.15),"(20%)-(15%)",IF(AND(I2>=-0.15,I2<=-0.1),"(15%)-(10%)",IF(AND(I2>=-0.1,I2<=-0.05),"(10%)-(5%)",IF(AND(I2>=-0.05,I2<=0),"(5%)-0%",IF(AND(I2>=0,I2<=0.05),"0%-5%",IF(AND(I2>=0.05,I2<=0.1),"5%-10%",IF(AND(I2>=0.1,I2<=0.15),"10%-15%",IF(AND(I2>=0.15,I2<=0.2),"15%-20%",IF(AND(I2>=0.2,I2<=0.25),"20%-25%",IF(AND(I2>=0.25,I2<=0.3),"25%-30%",IF(I2>0.3,"30%+")))))))))))))))
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Also I do realize that for this to be correct mathematically, not all of the logic statements should be <= or >= but boss says leave it so it's staying. I'll explain to him the pitfalls of this reasoning when we review again.
 
Upvote 0
Upvote 0
This looks to be the wrong way round to me
AND(I2>=-0.25,I2<=-0.3),"(30%)-(25%)"

If it is you can try writing it like
IF(ISBLANK(I2),"BLANK",IF(I2<=-0.3,"(30%)+",IF(I2<=-0.25,"(30%)-(25%)",IF(I2<=-0.2,"(25%)-(20%)",IF(I2<=-0.15,"(20%)-(15%)",IF(I2<=-0.1,"(15%)-(10%)",
 
Upvote 0
Thanks for the two options! I hadn't even considered using vlookup.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

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