Formula help

BORUCH

Well-known Member
Joined
Mar 1, 2016
Messages
548
Office Version
  1. 365
Platform
  1. Windows
Hi all

i have been breaking my head to figure this out if someone can help me i would greatly appreciate it

the formula is as follows

=IF(data[Discount Percentge]=0,"no discount",IF(AND(data[Discount Percentge]>0,data[Discount Percentge]<=0.05),"discount 1 .00% to 5.00%",IF(AND(data[Discount Percentge]>=0.05000001,data[Discount Percentge]<=0.1),"discount 2 5.00% to 10.00%",IF(AND(data[Discount Percentge]>=0.10001,data[Discount Percentge]<=0.35),"Discount 3 10.00 % TO 35.00 %",IF(AND(data[Discount Percentge]>=0.35001,data[Discount Percentge]<=0.75),"Discount 4 35.00 % TO 75.00 %",IF(AND(data[Discount Percentge]>=0.75001,data[Discount Percentge]<=100),"DISCOUNT 5 75.00 % TO 100.00 %","NEGATIVE"))))))

my problem is if i have a discount percent of exactly 5.00% it shows negative the question is why

if someone can please help me

thanks
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I suspect it's not exactly 5%, how about
=IF(data[Discount Percentge]=0,"no discount",IF(data[Discount Percentge]<=0.05,"discount 1 .00% to 5.00%",IF(data[Discount Percentge]<=0.1,"discount 2 5.00% to 10.00%",IF(data[Discount Percentge]<=0.35,"Discount 3 10.00 % TO 35.00 %",IF(data[Discount Percentge]<=0.75,"Discount 4 35.00 % TO 75.00 %",IF(data[Discount Percentge]<=100,"DISCOUNT 5 75.00 % TO 100.00 %","NEGATIVE"))))))
 
Upvote 0

Forum statistics

Threads
1,223,794
Messages
6,174,643
Members
452,575
Latest member
Fstick546

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