- I have a Form Builder Sheet where I have added Questions, and their Options using App Script.
- Added a Triger that updated every day.
- I have set this form Builder sheet, due to change of questions every day or can be changed as per need like Questions values and options.
I have a Database for Storing the Form responses, then use Pivot table to create the report.
There is a dropdown which is used to select the period for reporting, So I am selecting the period, and click create the report on new sheet and copy the selected data from Pivot table to new sheet.
So problem is that I want to update the Pivot Table Source range by using App Script not manually, as new responses will be added to Database Pivot table range will be dynamically updated for both rows and columns.
I have tried all the methods Like:
- Use dynamic Named Range using Offset Formula.
- Use Appscript.
- Use ChatGPT 3, 3.5, 4.
Nothing is wokring, is there any possible way to get arround this problem.