your CTRL + H window should look like:

Convert Formulas to Values in All Tabs
How to Replace All Formula In Google Sheets? - Stack Overflow
worksheet function - How do you replace a formula with its result? - Web Applications Stack Exchange
Google sheet: change the value or the formula of a cell with another cell - Google Docs Editors Community
I've been trying to find a way to convert all my formulas to values for my sheets that each have 52 tabs. I have well over a thousand tabs if I have to do a tab at a time.
Does anyone know of a script that can do this at once to all the tabs in the sheet?
Thanks!
In order to "freeze" the formula output on a summary sheet with a script, you can use copyTo method with the option contentsOnly:true. This can be used to copy the values to another place, or to exactly the same cells (thus, overwriting the formulas with their output). Here is a simple script that does this for cells A1:A10 of the sheet named "SummarySheet".
In order for such a process to run periodically, you have to decide which cells need to be frozen on each day; this is something specific to a particular worksheet.
function freezeOutput(){
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("SummarySheet");
var range = sheet.getRange("A1:A10");
range.copyTo(range, {contentsOnly:true});
}
function RunReplaceInSheet(){
var sheet = SpreadsheetApp.getActiveSheet()
replaceInSheet(sheet,"'§'","");
}
function replaceInSheet(sheet, to_replace, replace_with) {
//get the current data range values as an array
var values = sheet.getDataRange().getValues();
//loop over the rows in the array
for(var row in values){
//use Array.map to execute a replace call on each of the cells in the row.
var replaced_values = values[row].map(function(original_value){
return original_value.toString().replace(to_replace,replace_with);
});
//replace the original row values with the replaced values
values[row] = replaced_values;
}
//write the updated values to the sheet
sheet.getDataRange().setValues(values);
}
Hi, I'm aware it's possible to use the Find and Replace (ctrl+H) function for formulas as well, but I can't seem to figure out how to use it on just column letters, is it even possible? Basically my rows look like this:
=COUNTIFS(N3:N27;">="&$AR3;N3:N27;"<="&$AS3)
=COUNTIFS(N28:N52;">="&$AR4;N28:N52;"<="&$AS4)
=COUNTIFS(N53:N77;">="&$AR5;N53:N77;"<="&$AS5)
and on and on...
So the range is always different, so I can't just replace Nx or Nxy and be done with it.
Ideally, I'd just need to tell the Find and Replace function it should change all Ns to Bs, so it looks like this:
=COUNTIFS(B3:B27;">="&$AR3;B3:B27;"<="&$AS3)
=COUNTIFS(B28:B52;">="&$AR4;B28:B52;"<="&$AS4)
=COUNTIFS(B53:B77;">="&$AR5;B53:B77;"<="&$AS5)
Thanks!