Forum Discussion

Alana Weaver's avatar
Alana Weaver
Copper Contributor
Nov 22, 2017

Need help with formula

I'm trying to take a three digit number i.e. 123 and split it into three pairs; a front pair, a back pair and the outer two numbers form the three pair i.e. 12, 23, 13. I'm having trouble with formul...
  • Haytham Amairah's avatar
    Nov 22, 2017

    Hi,

     

    You got that error because there is no function in Excel called: JOIN.

     

    Replace this:

    =join(", ",{left(C3,2)&"x","x"&right(C3,2),"x"&left(C3,1)&right(C3,1)})

    With this:

    =LEFT(C3,2)&"x,"&" x"&RIGHT(C3,2)&", x"&LEFT(C3,1)&RIGHT(C3,1)

     Or this:

    =LEFT(C3,2)&", "&RIGHT(C3,2)&", "&LEFT(C3,1)&RIGHT(C3,1)

     

Resources