![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 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 ] |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
|
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
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 ] |
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
111.222.222.12 |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|