The format wanted is 12,34,56,789 which is in use in some countries (sorry,
I forget which). Hence the need for literal commas and ranged custom
formats.
Unfortunately, Excel ignores the number of digits you put between
non-literal commas in a custom format and assumes you wanted three, no
matter how many you actually had.