Link to home
Start Free TrialLog in
Avatar of janhoedt
janhoedt

asked on

Sort serverlist in excel

Please advise howto sort a serverlist in excel, f.e. Server01, server02, ... server11 ....
Now it sorts server01, server11...
Then duplicates should also be removed.

Thanks.
J
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

In Excel 2007+, you can use /Data/Remove Duplicates to get a distinct list.  In Excel 2003, use the Advanced Filter.

For the sorting, if the naming convention is ALWAYS "Server##", with a two digit number at the end, then use formulas to separate the parts:

=LEFT(A2,LEN(A2)-2)                   <--- this is the base server name
=VALUE(RIGHT(A2,2))                 <--- this is the server number

Then sort your list based on those new columns.

If that naming convention is not always followed, then you need to be more specific about your requirements.
Avatar of janhoedt
janhoedt

ASKER

Thanks. Servernames have sometimes 3 digits, f.e. server01, server100. Please advise on that.
And also please advise howto seperate within excel.
ASKER CERTIFIED SOLUTION
Avatar of karunamoorthy
karunamoorthy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Pl post you comments here for further assistance!
No, sorry, don't get it.