Apr 24, 2023 01:25 AM
In theory I can create a REGEX_REPLACE that turns and integer into a string with thousands separator. I wish AirTable had a FORMAT function but it doesn't, hence the painful work around.
In theory this should work
Apr 25, 2023 05:23 AM
If you can live without the REGEX (which gives me headaches), I suggest using W Vann Hall’s Pretty-Print formula
It’s an absolute lifesaver for this sort of situation, and every time I use it I am so grateful that he posted it here.
Apr 27, 2023 03:06 PM
Thanks much appreciated. In the end I implemented a solution like W Vann Halls approach. It's a working solution but doesn't solve the REGEX question so I have not accepted your response as a solution. I would still really like to understand just how REGEX is implemented in Airtable.
After formatting the number I discovered that formula fields do not display in an automation email???? By luck and perseverance l discovered that if you wrap the formula field tag in a HTML tag eg <b></b> then it displays. Go figure. I have discovered the hard way that doing anything beyond very simple emails in airtable is fraught, takes a lot of trial and error and doesn't work the way AirTable's documentation suggests.