Google sheet formula too long? Why is this not working?

Hi!

I have a scenario where I add lines to a google sheet and need to insert formula in some of the cells.

I have this formula that does not work (I get ERROR in the google sheet)
=IFERROR(IF(AND(INDIRECT(“L” & ROW())<>“”; VLOOKUP(INDIRECT(“B” & ROW()); TB_ramassage_ligne!C:E; 3; FALSE)=TRUE); INDIRECT(“L” & ROW()); IF(VLOOKUP(INDIRECT(“B” & ROW()); TB_ramassage_ligne!C:E; 3; FALSE)=TRUE; VLOOKUP(INDIRECT(“B” & ROW());TB_ramassage_ligne!C:D; 2; FALSE);“”));“”)

The thing is that on the previous rows, the formula works and if I copy the formula from the other rows, it works. And I can’t see any difference between the formulas. It’s not working only when it’s been inserted by Make

Also, on some other column I have other formulas that are working just fine.

Hi @GUIGUI13

Please share the screenshot of your scenario/module mappings you are encountering issue to better assist you.

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

Welcome to the Make community!

You might have to ensure the formula is correctly encoded/escaped when sent through the Google Sheets API (compared to just copy-paste in Sheets).

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

4. Screenshot of formula in cell and error in Google Sheet

Please share screenshots of the updated sheet, cell, and error messages. It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

Following these steps will allow others to assist you here. Thanks!

2 Likes