Excel formula 将一列中的值替换为另一列中的值

Excel formula 将一列中的值替换为另一列中的值,excel-formula,powerquery,powerpivot,powerbi-desktop,Excel Formula,Powerquery,Powerpivot,Powerbi Desktop,我有一些疑问,我想用列中的值替换另一个的值,我的查询如下 =Table.ReplaceValue(#“重命名的列1”,每个[“Alcance Canal”],null,replace.ReplaceValue,{“Canal/ES”}) 但是还是不行,你能帮我一下吗 关于最简单的方法是使用公式添加自定义列 = if [columnname] = "something" then [columnname] else [othercolumnname] 或 = if [colu

我有一些疑问,我想用列中的值替换另一个的值,我的查询如下 =Table.ReplaceValue(#“重命名的列1”,每个[“Alcance Canal”],null,replace.ReplaceValue,{“Canal/ES”})

但是还是不行,你能帮我一下吗


关于

最简单的方法是使用公式添加自定义列

= if [columnname] = "something" then [columnname] else [othercolumnname]

= if [columnname] = "something" then "anotherthing" else [othercolumnname]