excel 多列按照指定格式拼接

场景:有10W条商家编码+商品编码 不一样的商品,需要通过执行DB统一上架。10W数据已经导出到EXCEL

需要执行SQL:

update t_sales0 set sales_status='1'   where product_code='10597199253' and supplier_code='70183640';

我们需要替换的是product_code='10597199253' and supplier_code='70183640';

1、选中空白列,  concatenate

当第一行拼接成功后,我们把光标放在第一个生成的格子的右下角,显示出加号的时候,s双击即可批量拼接

猜你喜欢

转载自blog.csdn.net/qq_37570710/article/details/104150637