How do I sort a range of IP addresses typed in Excel? Excel does not seem to succeed in sorting the range of IP addresses typed into cells. Please help!
I would guess that Excel is doing its best. As you don't say what is going wrong, I can only guess at it. Excel starts sorting string figures at 0 or in the case of IP addresses, at 1. It doesn't matter if it is 1 10 or 100. This means that 2 is bigger than 100, which leads to confusion.
The only solution I can see is to format the cells as text, add leading zeros to the addresses, sort and then using find and replace throw out the leading zeros again. Be careful not to throw out all of the zeros, however.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.