Excel功能?使用哪一个

时间:2017-09-07 16:31:28

标签: excel function analysis

我有一个colums 它的值如

1,2,3,4,5 or 1,2  or 3,4 or 5 only (many rows)

i want to find/convert

   if value =1,2,3,4,5 then created new colum(Myname) -"TEXT1"
   if value = 1,2 then value of newly created colum = "TEXT2)
   if value=3,4 then value = "text3"
   if value = 5 then "text 4"

哪些excel功能我应该使用?或任何指针

1 个答案:

答案 0 :(得分:0)

=IF(A1="1,2,3,4,5","text-1",IF(A1="1,2","text-2",IF(A1="3,4","text-3",IF(A1=5,"text-4","not found"))))

使用此功能转换数据,如果所有单元格都是公用的,则可以冻结