I am trying to make an equation that reformats international phone numbers.
For instance, if this is the input: +44(0)1111111111, I would like to make an equation to remove the "+", remove the "(0)" and add "011" as a prefix to the number.
For example +44(0)1111111111 would become 011441111111111
I have made the following formula to remove the "+", remove the "(0)"
=SUBSTITUTE(SUBSTITUTE(A1,"(0)", ""),"+","")
to yield: 441111111111
but how would I make a nested concatenation to add the "011" prefix in a single function?
For instance, if this is the input: +44(0)1111111111, I would like to make an equation to remove the "+", remove the "(0)" and add "011" as a prefix to the number.
For example +44(0)1111111111 would become 011441111111111
I have made the following formula to remove the "+", remove the "(0)"
=SUBSTITUTE(SUBSTITUTE(A1,"(0)", ""),"+","")
to yield: 441111111111
but how would I make a nested concatenation to add the "011" prefix in a single function?