我有一个谷歌文档电子表格,我在其中根据日期计算工作日的名称。我用公式来做:
=SWITCH(WEEKDAY(B3),1,"Sunday",2,"Monday",3,"Tuesday",4,"Wednesday",5, "Thursday",6,"Friday",7,"Saturday")
所以电子表格看起来像:
我想将其导出到Excel,但是导出后我看到公式变成了:
=@SWITCH(WEEKDAY(B3),1,"Sunday",2,"Monday",3,"Tuesday",4,"Wednesday",5, "Thursday",6,"Friday",7,"Saturday")
当我通过基于网络的 Outlook 发送文档时,这并没有得到很好的呈现:
将 google 电子表格导出为 Excel 格式时如何避免添加“@”符号?
更新: 根据评论的建议,我解压缩了文件并检查了 worksheets/sheet.xml。 xml 包含不带“@”的规则:
<f t="shared" ref="A3:A31" si="1">SWITCH(WEEKDAY(B3),1,"Sunday",2,"Monday",3,"Tuesday",4,"Wednesday",5, "Thursday",6,"Friday",7,"Saturday")</f>
Google Sheets 的转换松散公式功能,我想更快的方法是直接在 Excel 文件中使用 CTRL+H 并将“@”替换为“”。