I have two googlesheets, In one google sheet (let's call it A) I am uploading the data using R cron and in another sheet (let's call it B) I'm importing the data from A using importrange formula.
In B, I am importing the data in sheet1 but I want to automatically copy the data from Sheet1 in Sheet2 whenever the Sheet1 gets updated. Also, I want to ensure that the new updated data gets append in Sheet2 without changing the sequence of previous records.
For Example,
If in B, Sheet1 has 5 records as mentioned below then copy it in new tab as Sheet2 and if in Sheet1 new data gets upload (suppose now there are 10 records in sheet1) then new uploaded five records should get appended in Sheet2 without changing the sequence and anything updated against records 1-5.
ID Name Date
1 ABC 2020-01-01
2 ART 2020-01-02
3 XUZ 2020-01-03
4 AFI 2020-01-03
5 SSR 2020-01-02
Sheet - https://docs.google.com/spreadsheets/d/1pY5dvlrEf39ul7sqmzyBI1Hwoplh9_7eNGveeVfUQZA/edit?usp=sharing