SharePoint计算列,如果那么else语句问题

时间:2014-12-18 15:51:07

标签: sharepoint if-statement calculated-columns

尝试使用计算列将用户ID [LOGBY]转换为SharePoint 2010中的实际姓氏。继续收到语法错误。我在7嵌套if语句限制之下。任何人都有任何想法"?

  

=IF([LOGBY]=”P2091″,”BARNES”,IF([LOGBY]=”2307″,”FIELDS”,IF([LOGBY]=”2398″,”BARTLETT”,IF([LOGBY]=”P2403″,”GREENE”,IF([LOGBY]=”P2415″,”FOSTER”,IF([LOGBY]=”P819″,”CALDER″,""))))))

提前致谢!

1 个答案:

答案 0 :(得分:0)

你搞砸了一些文字编辑器,

之间有区别
  1. “ASCII - > 8243
  2. “ASCII - > 8221
  3. “ASCII - > 34 使用那个!
  4.   

    = IF([LOGBY] = “P2091”, “BARNES”,IF([LOGBY] = “2307”, “田”,IF([LOGBY] = “2398”, “BARTLETT”,IF([LOGBY ] = “P2403”, “GREENE”,IF([LOGBY] = “P2415”, “培养”,IF([LOGBY] = “P819”, “卡尔德”, “”))))))