Sign in to join the conversation:
How can I use substitute to replace not only one but multiple letters?
For eg: -0.-9 I want to get 09 only.
Hi,
Try something like this.
=SUBSTITUTE(SUBSTITUTE(Text@row; "-"; ""); "."; "")
The same version but with the below changes for your and others convenience.
=SUBSTITUTE(SUBSTITUTE(Text@row, "-", ""), ".", "")
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
I have found the easiest way to nest SUBSTITUTE functions is to build out from the middle instead of trying to work from left to right.
To remove the "-", you would use
=SUBSTITUTE(Text@row, "-", "")
.
To remove the "."
=SUBSTITUTE(Text@row, ".", "")
To nest them, just drop one of the SUBSTITUTE formulas into the Text@row portion of the other.
=SUBSTITUTE(SUBSTITUTE(Text@row, ".", ""), "-", "")
If you then wanted to remove a "?"
=SUBSTITUTE(Text@row, "?", "")
and then just drop that into the Text@row portion again just like the last one.
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(Text@row, "?", ""), ".", ""), "-", "")
Thank you Guys.
Happy to help!
Let us know how it goes!
@Paul Newcome , Hope you are well. Question for you, meant to ask quite some time ago but forgot. You had shared this right after Engage 2025. I'm unfamiliar with the view and how to create it. Can you tell me about this view?
I am trying to change owner on a Smartsheet sheet to the owner of the workspace it is located in. I keep getting an error message stating the permissions need to be managed at the workspace level. I am unable to change owner for the sheet at the workspace level. Not sure how to accomplish this change. HELP!
I would like to add two dynamic filters as a widget within my Dashboard to define a date range (start and end date) which would then return a count value to that same Dashboard. I have been searching for answers but am not coming up with the solution I'm looking for. What is the cleanest way to configure this?