frs*_*373 2 google-docs excel-formula google-sheets
尝试在Google电子表格中合并两个单元格,将所有空格替换为“-”,并将所有内容都小写。
单元1:GWG-1
单元2:产品名称1
新单元3:gwg-1-product-name-1
您的基本公式是:
=LOWER(SUBSTITUTE(A1," ","-"))
Run Code Online (Sandbox Code Playgroud)
我们可以将两个单元连接在一起以获得所需的输出:
=LOWER(SUBSTITUTE(A1&"-"&B1," ","-"))
Run Code Online (Sandbox Code Playgroud)
Google表格
| 归档时间: |
|
| 查看次数: |
1210 次 |
| 最近记录: |