用户在特定工作表中添加新行时,会自动将其添加到其他Google工作表中

时间:2019-04-08 08:06:37

标签: google-sheets google-sheets-formula

我的第一个Google工作表(sheet1)如下:

Date    Name    Origin Exchange Destination Exchange    Amount (WITH FEES)  Currency    Reason
25/02/19 14:51  Kraken Jeremy   Kraken Corporate    0.4000  BTC we will start using corporate 
25/02/19 14:53  Kraken Jeremy   Zebpay Corporate    0.75917 BTC we will start using corporate 

我想实现的是,当员工在该工作表中添加一行时,它会自动填充另一工作表。我需要编写代码还是可以轻松做到这一点?

1 个答案:

答案 0 :(得分:-1)

将此公式放入 sheet2 中的 A1

=QUERY(sheet1!A1:Z; "select * where A is not null"; 1)