for (const cellFormula of cellFormulas) {

                    let cleanedCellFormula = cellFormula;

                    for (const worksheetNameToBeReplaced of wb.SheetNames) {