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!
Hi, "Fields marked with an asterisk (*) are required." is the very first line in the body of every form I create. I don't remember seeing it before (unless you missed filling out a required field; then you would see the message). Is there a way to turn it off or change it? None of my forms are in English so the message is…
I have a sheet that I pull into a report. The report I then want to use to make a stacked bar chart and put into a dashboard if I can. The columns I am trying to make into a stacked chart are: Lead, project and phase. The issue is that there are several leads and I need the stacked bar chart to show in different colors for…
I have a dynamic view setup for a dashboard that has NO restrictions And on the Sharing tab, I have a Group that I created as the additional share access to the view But the individuals in the Group still cannot see the data from the dashboard. Am I missing something? Because when I share the view to them individually…