how to implement an else if code

Eduardo asked on March 14, 2019

Guys, I need some help, I’m trying to implement something like the code below but I didn’t realize how.
 
in the column 1 I have values as $1.000,00 and $ 2.758,00, let’s call them “A2” and go on, and in the second column the rules
if(x > 10.000,00 && < =20.000,00){ 
return =  0,08} (I will convert to percentage)
else if(x > 20.001,00 && < =30.000,00){ 
return =  0,10}
else if(x > 30.001,00 && < =50.000,00){ 
return =  0,12}
else if(x > 50.0010,00){ 
return =  0,14}
else{“0”}
 

Attachments:
else if.PNG

2 answers

Public
Eduardo March 15, 2019

Hi guys, tks, I’ve found a roundabout

Public
Tanya Gryshko Flexmonster March 15, 2019

Hello, Eduardo,
We are glad the issue is resolved. Please let us know in case of any other question.
Regards,
Tanya

Please login or Register to Submit Answer