In Sheet1, data is regularly updated via an =importJSON script. This data is imported into Sheet2 via =IMPORTRANGE("xyz"; "Sheet1!H5:R33"). The data in the range in Sheet1 is cleared via a trigger every 5 minutes completely, but unfortunately this also removes the imported data in Sheet2.
How can I keep the data in Sheet2 even if the data in Sheet1 is deleted? The data in Sheet2 should only change when new data is loaded into Sheet1 via importJSON. But not all fields in the range have data, there are also empty fields as new data