I am not so clear about the requirement, but an example of using a setrange with a table id would be something similar to the following:
Best Regards
Gerardo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.