Forum Discussion
pysnyp
Sep 26, 2020Copper Contributor
Please help
Good morning, I would like to advise with function IF AND or maybe others. For example, we have a table with two columns and one row. (A1;B1) Conditions: if is the value of A1 between "0,01-20,00"...
- Sep 26, 2020
pysnyp ,,
You may use this one:
=IF(AND(A1>=0.01,A1<=20),20,IF(A1=0,0,(20+A1-20)*0.7))N.B. I'm using US keyboard & according to the Regional Settings, DOT is Decimal.
SergeiBaklan
Sep 26, 2020Diamond Contributor
- Rajesh_SinhaSep 26, 2020Iron ContributorYour formula needs little correction in case of value is other than 20 gives wrong result,, please check this part (A16-20)*0.7).
- SergeiBaklanSep 26, 2020Diamond Contributor
- Rajesh_SinhaSep 27, 2020Iron ContributorWith some of the values it returns wrong result, like if A1 has 21,, your formula returns 20.07 and mine is returning 14.70 , actually formula should calculate =(20+A1-20)*0.7 ,, where (20+A1-20)= 21 and then 21*0.7 = 14.70 .