• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula assistance

Hi, @James Carlo Cruz!

Try this:
[B1] : =LEFT(A1,MATCH(1,INDEX(--ISNUMBER(--MID(A1,ROW($1:$99),1)),),)-1)
[C1] : =MID(A1,SEARCH("???-???-????",A1),12)
[D1] : =SUBSTITUTE(MID(A1,SEARCH("???-???-????",A1)+13,99),E1,"")
[E1] : =IFERROR(MID(A1,SEARCH("http:",A1),99),"")

And drag it down. Blessings!
 
I would use an =iferror(existing function,"No Phone Number")
around the Phone number function
 
So set it up to return 0 or "" as the answer so that it has zero value and zero length
eg: =iferror(existing function,0)
or
=iferror(existing function,"")
 
I just realized that you have as a separator of words the character (10) between your texts. That being the case, you can use the unique following formula:

[B1] =TRIM(MID(SUBSTITUTE($A1,CHAR(10),REPT(" ",999)),1+999*(COLUMNS($B1:B1)-1),999))

And drag it to right and down.

If you have more problems, upload an excel file with more representative examples and how you would like it to stay. Blessings!

Note: You can use text to columns too for separate text. I like formula approach, because is dinamic, but text to columns every time you have to do it.
 
Back
Top