如何在Excel中将字符串和单元格值连接起来,如果字符串已经有引号?

22 浏览
0 Comments

如何在Excel中将字符串和单元格值连接起来,如果字符串已经有引号?

=\"python sql.py --table process --query-type UPDATE --column-value active=\'N\' --where \"\"pid=9999 and data_id=\"\"&A1&\"\"\"

我需要A1是单元格A1中的任何内容,但公式将其视为字符串的一部分

最终输出应为

python sql.py --table process --query-type UPDATE --column-value active=\'N\' --where \"pid=9999 and data_id=0001\"

admin 更改状态以发布 2023年5月21日
0
0 Comments

尝试:

="python sql.py --table process --query-type UPDATE --column-value active='N' --where ""pid=9999 and data_id="&A1&""""

0