M
McRibIsBack
hello, I have a simple task i think, but i need some guidance!
I have 3 Cells:
A1: 12345 - 67891
A2: 12345-67891
A3: 1234567891
Here are the things I want to do:
1) Remove all spaces
2)IF the cell already has a hyphen, do nothing
3)IF the cell does not have a hyphen, insert one at approximately 5
character positions from the right.
I know how to do all of these in their own cells, but I want to combine all
of the =SEARCH, =IF, =SUBSTITUTE/REPLAC etc. into one cell so the data looks
like this:
A1: 12345-67891
A2: 12345-67891
A3: 12345-67891
Thank you in advance!
I have 3 Cells:
A1: 12345 - 67891
A2: 12345-67891
A3: 1234567891
Here are the things I want to do:
1) Remove all spaces
2)IF the cell already has a hyphen, do nothing
3)IF the cell does not have a hyphen, insert one at approximately 5
character positions from the right.
I know how to do all of these in their own cells, but I want to combine all
of the =SEARCH, =IF, =SUBSTITUTE/REPLAC etc. into one cell so the data looks
like this:
A1: 12345-67891
A2: 12345-67891
A3: 12345-67891
Thank you in advance!