Greater than and less than
Closed
slim
-
1 Oct 2015 à 21:14
RayH Posts 122 Registration date Tuesday 31 August 2010 Status Contributor Last seen 20 June 2016 - 1 Oct 2015 à 22:03
RayH Posts 122 Registration date Tuesday 31 August 2010 Status Contributor Last seen 20 June 2016 - 1 Oct 2015 à 22:03
1 response
RayH
Posts
122
Registration date
Tuesday 31 August 2010
Status
Contributor
Last seen
20 June 2016
26
1 Oct 2015 à 22:03
1 Oct 2015 à 22:03
You cannot put the result, "Centimeters", in the same cell as the source.
The formula must go in another cell.
Either of these will do what you want:
The "" can be replaced with another value if the criteria is not met.
e.g.
=IF(AND(A4>1,A4<100),"Centimeters","NOT Centimeters")
or
=IF(A4>1,IF(A4<100,"Centimeters",">100"),"<1")
The formula must go in another cell.
Either of these will do what you want:
=IF(AND(A4>1,A4<100),"Centimeters","") =IF(A4>1,IF(A4<100,"Centimeters",""),"")
The "" can be replaced with another value if the criteria is not met.
e.g.
=IF(AND(A4>1,A4<100),"Centimeters","NOT Centimeters")
or
=IF(A4>1,IF(A4<100,"Centimeters",">100"),"<1")