How to fix formula parse error after “setformula” in google sheets?Google Sheets formulaUnable to extract link text from tooltip in Google SpreadsheetHow to automate moving data from one google sheet to anotherHow to update formulas in a Sheet when copying reference sheet into current spreadsheetError with Google Sheets and Scripts and phone number with spaces (javascript)Radio button in Google Sheets formulaGoogle Sheets - setFormulaR1C1(formula) doesn't seem to work for VLOOKUP formulaGoogle Sheets: INDIRECT() with a RangeGoogle Sheets appendRow with formula valuesGoogle Sheets formula for date detection

Found old paper shares of Motorola Inc that has since been broken up

What's the physical meaning of the statement that "photons don't have positions"?

Do I care if the housing market has gone up or down, if I'm moving from one house to another?

How to create complicated tables (multiple nested columns and rows)

Animating the result of numerical integration

Why didn't Balak request Bilam to bless his own people?

Polynomials with natural coefficients arising from exponentiation and sums

BIP-23 criticism: Is bitcoin PoW actually sha256+merkleGeneration? Or have I misunderstood coinbase/append?

Weight functions in graph algorithms

Is it possible to have a career in SciComp without contributing to arms research?

ESTA Travel not Authorized. Accepted twice before!

Applying for jobs when I have an obvious scar

Could Europeans in Europe demand protection under UN Declaration on the Rights of Indigenous Peoples?

Can a creature sustain itself by eating its own severed body parts?

Are there foods that astronauts are explicitly never allowed to eat?

Redirection operator, standard input and command parameters

Will copper pour help on my single-layer PCB?

Nilpotent elements of Lie algebra and unipotent groups

Difference between string += s1 and string=string +s1

Satellite in orbit in front of and behind the Moon

How to declare an array without specifying its size, but with an initializer inside a class in C++?

Does any picture file format embed author, title etc.?

Why is there an extra "t" in Lemmatization?

"This used to be my phone number"



How to fix formula parse error after “setformula” in google sheets?


Google Sheets formulaUnable to extract link text from tooltip in Google SpreadsheetHow to automate moving data from one google sheet to anotherHow to update formulas in a Sheet when copying reference sheet into current spreadsheetError with Google Sheets and Scripts and phone number with spaces (javascript)Radio button in Google Sheets formulaGoogle Sheets - setFormulaR1C1(formula) doesn't seem to work for VLOOKUP formulaGoogle Sheets: INDIRECT() with a RangeGoogle Sheets appendRow with formula valuesGoogle Sheets formula for date detection






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I am having issues with formula parse error after using the setformula in google script.



I have used the to escape double quotes " in the code, however after running the script the parse error shows on the formula.
The formula itself should be correct because if i copy and paste manually everything works. I can either try to edit the formula in the "function line" after adding one space the formula parse error disappear.



Matt



matvyr.setFormula("=SUMIFS('Náklady'!G:G;'Náklady'!A:A; CONCATENATE(AG1; INDIRECT("RC[-31]";FALSE));'Náklady'!H:H;AG7)");


Screenshot of Error before editing the formula





Just one space added to the formula code












share|improve this question
























  • What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula?

    – tehhowch
    Mar 26 at 11:45











  • SpreadsheetApp.flush() after setFormula

    – TheMaster
    Mar 26 at 14:36











  • My guess would be the international settings of the spreadsheet. Adding 1 space seemingly converts your formula from mixed Czech/English into proper English.

    – ttarchala
    Mar 26 at 20:17











  • Hi, definatelly not. the formula is not mixed. It is written properly the word náklady in the destination sheet name.

    – Boomer
    Mar 27 at 10:15

















2















I am having issues with formula parse error after using the setformula in google script.



I have used the to escape double quotes " in the code, however after running the script the parse error shows on the formula.
The formula itself should be correct because if i copy and paste manually everything works. I can either try to edit the formula in the "function line" after adding one space the formula parse error disappear.



Matt



matvyr.setFormula("=SUMIFS('Náklady'!G:G;'Náklady'!A:A; CONCATENATE(AG1; INDIRECT("RC[-31]";FALSE));'Náklady'!H:H;AG7)");


Screenshot of Error before editing the formula





Just one space added to the formula code












share|improve this question
























  • What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula?

    – tehhowch
    Mar 26 at 11:45











  • SpreadsheetApp.flush() after setFormula

    – TheMaster
    Mar 26 at 14:36











  • My guess would be the international settings of the spreadsheet. Adding 1 space seemingly converts your formula from mixed Czech/English into proper English.

    – ttarchala
    Mar 26 at 20:17











  • Hi, definatelly not. the formula is not mixed. It is written properly the word náklady in the destination sheet name.

    – Boomer
    Mar 27 at 10:15













2












2








2








I am having issues with formula parse error after using the setformula in google script.



I have used the to escape double quotes " in the code, however after running the script the parse error shows on the formula.
The formula itself should be correct because if i copy and paste manually everything works. I can either try to edit the formula in the "function line" after adding one space the formula parse error disappear.



Matt



matvyr.setFormula("=SUMIFS('Náklady'!G:G;'Náklady'!A:A; CONCATENATE(AG1; INDIRECT("RC[-31]";FALSE));'Náklady'!H:H;AG7)");


Screenshot of Error before editing the formula





Just one space added to the formula code












share|improve this question
















I am having issues with formula parse error after using the setformula in google script.



I have used the to escape double quotes " in the code, however after running the script the parse error shows on the formula.
The formula itself should be correct because if i copy and paste manually everything works. I can either try to edit the formula in the "function line" after adding one space the formula parse error disappear.



Matt



matvyr.setFormula("=SUMIFS('Náklady'!G:G;'Náklady'!A:A; CONCATENATE(AG1; INDIRECT("RC[-31]";FALSE));'Náklady'!H:H;AG7)");


Screenshot of Error before editing the formula





Just one space added to the formula code









google-apps-script google-sheets google-sheets-formula






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 11:42









tehhowch

6,6094 gold badges12 silver badges31 bronze badges




6,6094 gold badges12 silver badges31 bronze badges










asked Mar 26 at 10:54









BoomerBoomer

111 bronze badge




111 bronze badge












  • What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula?

    – tehhowch
    Mar 26 at 11:45











  • SpreadsheetApp.flush() after setFormula

    – TheMaster
    Mar 26 at 14:36











  • My guess would be the international settings of the spreadsheet. Adding 1 space seemingly converts your formula from mixed Czech/English into proper English.

    – ttarchala
    Mar 26 at 20:17











  • Hi, definatelly not. the formula is not mixed. It is written properly the word náklady in the destination sheet name.

    – Boomer
    Mar 27 at 10:15

















  • What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula?

    – tehhowch
    Mar 26 at 11:45











  • SpreadsheetApp.flush() after setFormula

    – TheMaster
    Mar 26 at 14:36











  • My guess would be the international settings of the spreadsheet. Adding 1 space seemingly converts your formula from mixed Czech/English into proper English.

    – ttarchala
    Mar 26 at 20:17











  • Hi, definatelly not. the formula is not mixed. It is written properly the word náklady in the destination sheet name.

    – Boomer
    Mar 27 at 10:15
















What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula?

– tehhowch
Mar 26 at 11:45





What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula?

– tehhowch
Mar 26 at 11:45













SpreadsheetApp.flush() after setFormula

– TheMaster
Mar 26 at 14:36





SpreadsheetApp.flush() after setFormula

– TheMaster
Mar 26 at 14:36













My guess would be the international settings of the spreadsheet. Adding 1 space seemingly converts your formula from mixed Czech/English into proper English.

– ttarchala
Mar 26 at 20:17





My guess would be the international settings of the spreadsheet. Adding 1 space seemingly converts your formula from mixed Czech/English into proper English.

– ttarchala
Mar 26 at 20:17













Hi, definatelly not. the formula is not mixed. It is written properly the word náklady in the destination sheet name.

– Boomer
Mar 27 at 10:15





Hi, definatelly not. the formula is not mixed. It is written properly the word náklady in the destination sheet name.

– Boomer
Mar 27 at 10:15












1 Answer
1






active

oldest

votes


















0














What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula? – tehhowch 22 hours ago



This comment solves the problem. If I rewrite it to the R1C1 completely it works properly.






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55355400%2fhow-to-fix-formula-parse-error-after-setformula-in-google-sheets%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula? – tehhowch 22 hours ago



    This comment solves the problem. If I rewrite it to the R1C1 completely it works properly.






    share|improve this answer



























      0














      What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula? – tehhowch 22 hours ago



      This comment solves the problem. If I rewrite it to the R1C1 completely it works properly.






      share|improve this answer

























        0












        0








        0







        What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula? – tehhowch 22 hours ago



        This comment solves the problem. If I rewrite it to the R1C1 completely it works properly.






        share|improve this answer













        What happens if you convert the remaining A1 notations to R1C1 notation and then use setFormulaR1C1 instead of setFormula? – tehhowch 22 hours ago



        This comment solves the problem. If I rewrite it to the R1C1 completely it works properly.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 27 at 11:01









        BoomerBoomer

        111 bronze badge




        111 bronze badge


















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55355400%2fhow-to-fix-formula-parse-error-after-setformula-in-google-sheets%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현