If you have an Excel spreadsheet and you want to sort by half of a cell, you can cheat this way:
Suppose I have a list of snooker players. Three columns, Player, Highest ranking, Number of ranking events. There are 160 players in the list so the table is 160×3.
The first column contains the names as "John Higgins", "Stephen Hendry" etc., and I want them to appear like that, but want them sorted by surname. Here is how I can do it:
Highlight the column containing the names.
In Word, paste the data (Paste Special, select 'Unformatted text').
Do Ctrl+H to Find and Replace. In the Find box, put a space. Click 'More'. With cursor in the Replace box, click Special and select Tab character. Click Replace All.
Now check that no names contained two spaces and correct where necessary.
Now copy the whole data and, in a spare space at either end of your Excel data, paste it. The first name and surname will now be in separate columns, so you can sort by surname (and then first name, so that Alex Higgins comes before John Higgins, for example).
The new columns that you have added can be made outside the printed area, so it won't affect the appearance of the chart.
Suppose I have a list of snooker players. Three columns, Player, Highest ranking, Number of ranking events. There are 160 players in the list so the table is 160×3.
The first column contains the names as "John Higgins", "Stephen Hendry" etc., and I want them to appear like that, but want them sorted by surname. Here is how I can do it:
Highlight the column containing the names.
In Word, paste the data (Paste Special, select 'Unformatted text').
Do Ctrl+H to Find and Replace. In the Find box, put a space. Click 'More'. With cursor in the Replace box, click Special and select Tab character. Click Replace All.
Now check that no names contained two spaces and correct where necessary.
Now copy the whole data and, in a spare space at either end of your Excel data, paste it. The first name and surname will now be in separate columns, so you can sort by surname (and then first name, so that Alex Higgins comes before John Higgins, for example).
The new columns that you have added can be made outside the printed area, so it won't affect the appearance of the chart.
Comment