Excel IF statement Comparing text with number

后端 未结 2 1863
[愿得一人]
[愿得一人] 2020-12-11 03:51

I was using IF statement to group some numbers together. In column A I have numeric and text values.

  A   B
1 s   =IF(A1>200,23         


        
2条回答
  •  情歌与酒
    2020-12-11 04:50

    For the Excel compare operators (e.g. <, =, >), number values are less than text values which are less than logical values. You can use the VALUE function to convert text values to number values for number comparisons. You can use the TEXT function to convert number values to text values for text comparison.

提交回复
热议问题