Extracting Text from cell

Neoxide

New Member
Joined
Mar 25, 2015
Messages
2
Hello, Hopefully someone can help with this :)

I have cells with data like the following
Column K -> CN=Doe\, John K,OU=Unmanage,OU=Users

I would like to have a formula to extract the name

ex: Doe, John K

I've tried many suggestions from other threads, sites, but nothing is working. Any help would be GREATLY appreciated.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
=mid(substitute(k2,"\",""),4,search("/",substitute(k2,",","/",2))-5)


hello, hopefully someone can help with this :)

i have cells with data like the following
column k -> cn=doe\, john k,ou=unmanage,ou=users

i would like to have a formula to extract the name

ex: Doe, john k

i've tried many suggestions from other threads, sites, but nothing is working. Any help would be greatly appreciated.
 
Upvote 0

Forum statistics

Threads
1,215,427
Messages
6,124,831
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top