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!
Still looking for documentation, but I am curious about the limitations with the dropdown linking in Table View. Does a person need to have access to the dropdown source sheet in order for the dropdowns to populate on the Table sheet?
I want to add a calendar to my team's dashboard that shows both Anniversaries and Birthdays every year. I have the following columns: Team member Date (date of anniversary and birthday) Anniversary column to show this year's date (formula) Birthday column to show this year's date (formula) When I go into calendar mode, I…
I’m not sure if this has already been asked here or if there’s an existing Enhancement Request, but: is there any way to apply conditional formatting to multiple widgets in a dashboard at once? I have a large number of widgets, and applying conditional formatting individually to each one is very time‑consuming. Ideally,…