Excel - Parse Column Text

cell a1 = user@domain.com

I just need the "user" part prior to the @ in another column.

Thanks in advance!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Professor JMicrosoft Excel ExpertCommented:
two option , first option use text to column

go to data tab then text to column

then your delimited and on the selection unmark all mark "other"  then put @ in that small box and then next and finish.

second Option
if you want to use formula instead of text2column then .  lets say your data starts from cell A2 then put in B2  =TRIM(MID(SUBSTITUTE(A2,"@",REPT(" ",99)),1*99-98,99))  and in C2   =TRIM(MID(SUBSTITUTE(A2,"@",REPT(" ",99)),2*99-98,99)) and drag the formula down
Try this:

A1 = LEFT(B1,FIND("@",B1&"@")-1)

assumes the "user@domain.com" is in cell B1.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Professor JMicrosoft Excel ExpertCommented:
if you just need the first part before @  then you only use this =TRIM(MID(SUBSTITUTE(A1,"@",REPT(" ",99)),1*99-98,99))
RickzzzAuthor Commented:
Perfect, thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.