Google sheets bulk add rows from JSON, but need numbers to use commas instead of periods

Hello, I’m using a JSON to bulk add rows to my google sheet. The issue is that it uses periods rather than commas as separators in numbers, but my google sheets regional settings use commas rather than periods as separators for $$ amounts, for example.

I tried to use the replace function after the JSON, the problem is the JSON is returning multiple bundles containing multiple arrays and I’m not sure how to replace while retaining the structure.

I’m sure there is a simple way to do this, right?

Factures Communauto.blueprint (1).json (58.6 KB)

Bonjour Romain,

You neet the formatNumber() function:

formatNumber(number; decimalPlaces; decimalSeparator; thousandSeparator)

Docs are here: Math functions - Help Center

L

1 Like

Hi L_Duperval,

brilliant, thank you!

One more question, in the Google sheets bulk add rows, is there a way to add as many rows as there are values in the input array? At the moment I have to specify which element of the array I want to add for each row but it seems ineficient and “dumb”. I must be missing something here to be able to loop it.

Does this help:

L