I want to copy an entire spreadsheet of some 20+ sheets to a different location in Drive; however, I only want to preserve the hard values and formatting in each cell, and not the formulas (basically just taking a snapshot of the values). I have been playing around with how to write this but I don't have a solid idea on what's the best approach. I'm just starting to learn conditionals like looping in my google sheets training, any help would be appreciated. Thanks!
Those cells in green are all vlookups and they update from an array I have on another spreadsheet. The idea is to get all the right data in the array, have this sheet fully fill out with the correct values for the day, then save it preferably as a google sheet but just the values, so that they are editable after the fact if there was an error in the array data.
a date stamped on it for a name
as the filename.many vlookups and other outside reference cells
are included.If my understanding is correct, how about this answer? Please think of this as just one of several possible answers.
The flow of the sample script for the above goal is as follows.
Flow:
Sample script:
Before you run the script, please set the source Spreadsheet ID and the destination folder ID.
Note:
References: