• 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.

Segregate Data

Greetings!!

Into cell B2 “KSJ 2K”, cell B3“PKSA 1KA “ is mentioned

I want to segregate data into two columns i.e before space and after space

Into in Cell C2 "KSJ", cell D2 "2K"

I cannot use Text to column and nor looking for VBA solution

Regards
Neeraj Kumar Agarwal
 

Attachments

  • EXCEL QUERY1.xlsx
    10.1 KB · Views: 5
hii @neeraj2050

another option

try below formula

Coulumn 1 :cell C2 =LEFT(B2,FIND(" ",B2)-1)
Coulumn 1 :cell D2=MID(B2,FIND(" ",B2)+1,10000)


Text to Column :

Select Column B (data ) >> Go to data tab >> Text to column
>>Select Delimited >> Uncheck tab >> tick mark to Space >> Next >>Desitination >> C2 >> Finish .


upload_2017-9-13_16-43-58.png

upload_2017-9-13_16-44-52.png

Regard
Rahul shewale
 
Thanks everybody for your time and valuable suggestion!!

@Hui Sir: (" ",B2)-1)
Why we have used -1 into this. Would you mind to brief about it

Thanks in advance!!

Regards
Neeraj Kumar Agarwal
 
KSJ 2K =FIND(" ",B6)-1

Find will find the position of character....

1.To find space in which position and it is in 4th position
2. After that we need cell value before space , Hence he putted "-1"

After that using left formula he defined it...
=LEFT(B2,FIND(" ",B2)-1)

I hope you will understand this.....
 
Back
Top