Excel函数?使用哪一个

问题描述 投票:1回答:1

我有一个专栏它的值如

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函数?或任何指针

excel function analysis
1个回答
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"))))

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

© www.soinside.com 2019 - 2024. All rights reserved.