Solved

excel 2007

Posted on 2011-03-17
4
280 Views
Last Modified: 2012-05-11
CN=Admin David Lamont,OU=IT Admin Accounts,OU=Information Technology,OU=Personnel,DC=axiseurope,DC=local
CN=Dean Beckenham,OU=Departed Users,OU=Personnel,DC=axiseurope,DC=local
CN=Maureen Henderson,OU=Managers,OU=Housing,OU=Personnel,DC=axiseurope,DC=local
CN=Bill Rands,OU=Managers,OU=Housing,OU=Personnel,DC=axiseurope,DC=local
CN=Kelly Blake,OU=Swale Housing,OU=Administrators,OU=Housing,OU=Personnel,DC=axiseurope,DC=local
CN=Sarah Cooper,OU=Resident Liaison Officers,OU=Housing,OU=Personnel,DC=axiseurope,DC=local
CN=Kerri McNulty,OU=Resident Liaison Officers,OU=Housing,OU=Personnel,DC=axiseurope,DC=local
CN=Jane Phillips,OU=Resident Liaison Officers,OU=Housing,OU=Personnel,DC=axiseurope,DC=local
CN=Ken Chamberlain,OU=Managers,OU=Housing,OU=Personnel,DC=axiseurope,DC=local


The list above ive exported over from AD.  I saved it as a csv file but all i want is the users, dont want CN or ou.  Is there a excel formula to get of the cn and all the ou and dc.  All i want on the spread sheet is the users names thats it.

Thank you for all your help
0
Comment
Question by:happyexchange
  • 2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 35157645
You can use this formula for A1:
=SUBSTITUTE(SUBSTITUTE(A1,"CN=",""),"OU=","")

And copy down.
0
 

Author Comment

by:happyexchange
ID: 35158047
Hi i did that coomand but i got this

Dean Beckenham,Departed Users,Personnel,DC=axiseurope,DC=local
Is there a way in Excel so it just shows Dean Beckenham.

Thank you
0
 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 35158095
Sorry I misread your data. Please try this one:
=MID(A1,4,FIND(",",A1)-4)
0
 

Author Closing Comment

by:happyexchange
ID: 35158421
Thank you
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had the experience that you had to follow 10 steps over and over again every time when you need to nicely forward an important email to your manager? Fear no more! With the help of the Quick Steps feature in Outlook 2010, your old chor…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now