Sorting IP Addresses

cision_eq

New Member
Joined
Apr 9, 2002
Messages
1
I am trying to sort a spreadsheet based on ip addresses. I cant seem to figure out how here is an example
machine ip address
test1 111.222.222.123
test2 111.222.222.132
test3 111.222.222.111
basically I want to sort on the last 3 digits
any info would be appreciated. thanks
This message was edited by cision_eq on 2002-04-10 06:24
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
On 2002-04-10 06:24, cision_eq wrote:
I am trying to sort a spreadsheet based on ip addresses. I cant seem to figure out how here is an example
machine ip address
test1 111.222.222.123
test2 111.222.222.132
test3 111.222.222.111
basically I want to sort on the last 3 digits
any info would be appreciated. thanks
This message was edited by cision_eq on 2002-04-10 06:24

Lets say that the sample is in A1:B3.

In C1 enter and copy down:

Change the formula to:

=RIGHT(B1,LEN(B1)-LEN(SUBSTITUTE(B1,".","")))+0

Then sort on column C.

Aladin
This message was edited by Aladin Akyurek on 2002-04-10 06:51
 
Upvote 0

Forum statistics

Threads
1,214,432
Messages
6,119,468
Members
448,900
Latest member
Fairooza

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