The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
Nov 08, 2023 05:01 PM
Hello community,
what do I wrong? 🙂
I have a field with #Numbers f.e. 80 or 80,1
In another field I try to format this field to a url format, that means I would like to replace the , with an -.
For this I use the Substitute formula:
Solved! Go to Solution.
Nov 09, 2023 06:34 AM
Nov 09, 2023 06:12 AM
Formatting doesn't change the contents, only the way the contents are displayed. You are getting an error because you are using a text formula on a number. If you try SUBSTITUTE({Numbers&""}, ",", "-") I believe it will work. (You are casting the number field to a text value.)
Nov 09, 2023 06:29 AM - edited Nov 09, 2023 07:31 AM
Hi BillH,
Thank you for your tip. It was almost right, your formula is just not quite correct. The characters & "" must be outside the {} in this case. So like here: SUBSTITUTE({Numbers} &"",",", "-")
Now it works for me too and I no longer get Error! Thanks again!
Nov 09, 2023 06:33 AM
Sorry for the typo, I wasn't paying attention during my cutting and pasting lessons.
Glad it worked eventually.
Nov 09, 2023 06:34 AM
Sorry, suggested formula should be SUBSTITUTE({Numbers}&"", ",", "-")