谷歌应用程序脚本连接合并

时间:2014-03-25 15:44:57

标签: google-apps-script google-sheets concatenation

寻找使用脚本构建到工作表中的此功能 - 而不是"自定义功能"

用户将数据添加到Sheet1

第1页

  -----a--------b   
1    fName     lName
2
3

工作表2 每次编辑时自动填充

 -----a--------b   
1         fName_lName
2
3

1 个答案:

答案 0 :(得分:0)

onEdit(event)函数的Psuedo代码:

Use the attributes of the `event` object

Find which row has been edited
If there is text in column A & B of this row
  Set value of column B to `A + '_' + B`
  And clear A
相关问题