Prev Previous Post   Next Post Next
  #1   Report Post  
JC
 
Posts: n/a
Default Sorting problem

Hi,

I am running WinXP and Office 2003 with all updates installed.

I have my firewall email me the log each day which I then paste
into Excel. The data is in the format

Col. A Col. B Col. C Col. D
Date & time Action taken Source IP address, port Destination IP address, port
2005/01/14 21:24:53.480 - UDP packet dropped - Source:w.x.y.z, port, WAN - Destination:w.x.y.z, port, WAN -

where w, x, y and z are 1, 2 or 3 digit numbers. There are another 2
columns which are usually blank but sometimes have data.

I am getting about 100 entries per day so the amount of data isn't large
but is building - it was 60 per day a few months ago.

I have been hitting <CTRL A to select all and then sorting on Col C so
that I get all entries coming from an ISP grouped together.

However, Excel has a funny way of sorting which seems to be based on
each character moving from left to right. The result of this is that I get the
following happening:-

Source:211.177.154.134, 1030, WAN -
Source:211.19.215.70, 1051, WAN -
Source:211.19.215.70, 1677, WAN -
Source:211.190.195.138, 2876, WAN -

The problem with this is that the first and last come from one ISP and the
middle 2 come from another which confuses the presentation.

Is there a way I can get Excel to sort w, x, y and z as 3 digit numbers? I
would like the result of the sort to be:-

Source:211.19.215.70, 1051, WAN -
Source:211.19.215.70, 1677, WAN -
Source:211.177.154.134, 1030, WAN -
Source:211.190.195.138, 2876, WAN -

TIA.

--

Cheers . . . JC
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem sorting in Excel Kat Excel Discussion (Misc queries) 2 January 19th 05 03:29 PM
Difficult Sorting Problem Rob Excel Discussion (Misc queries) 2 January 5th 05 03:05 PM
Crazy Sorting Problem..... Neal Excel Discussion (Misc queries) 1 December 30th 04 06:56 PM
Sorting problem Klaus Excel Discussion (Misc queries) 3 December 4th 04 01:55 AM
Sorting problem Chris Excel Worksheet Functions 1 November 3rd 04 11:27 PM


All times are GMT +1. The time now is 09:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"