Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with Sorting tables

I'm trying to sort tables of data according to the name of the range the
tables cover. Each table is exactly the same size (i.e. B2:M15) and
each range is named according to the name of the employee the table
relates to (e.g.SmithJohn for John Smith).

Each table has has an empty row above and below it, i.e. the upper left
corner of the first table is in B2, the upper left corner of the second
table is in B16, then B30...etc.

How can I sort these tables into alphabetical order according to the
name of the ranges they cover?

I need to do this in vba and I should point out that I'm only a novice
user!


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help with Sorting tables

I would insert an extra column to the left, so you data starts in C2 and
columns A and B are blank.

Next to each block (rows 2 to 15 for example) I would fill with the name of
the person and in column B I would put in a numerical sequence number.
Then I would sort all the data using column A as the first sort key and
column B as the second sort key.

--
Regards,
Tom Ogilvy

"cornishbloke" wrote in message
...
I'm trying to sort tables of data according to the name of the range the
tables cover. Each table is exactly the same size (i.e. B2:M15) and
each range is named according to the name of the employee the table
relates to (e.g.SmithJohn for John Smith).

Each table has has an empty row above and below it, i.e. the upper left
corner of the first table is in B2, the upper left corner of the second
table is in B16, then B30...etc.

How can I sort these tables into alphabetical order according to the
name of the ranges they cover?

I need to do this in vba and I should point out that I'm only a novice
user!


---
Message posted from http://www.ExcelForum.com/



Reply
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
SORTING DATA IN TABLES Big Trev[_2_] Excel Discussion (Misc queries) 1 November 5th 09 09:51 PM
Sorting in Tables Cazzy123 Excel Discussion (Misc queries) 7 July 10th 09 02:11 PM
Sorting Data in Tables fordstynkx Excel Worksheet Functions 2 December 14th 05 07:58 AM
Sorting in pivot tables Andy Excel Discussion (Misc queries) 0 May 25th 05 03:41 PM
sorting in Pivot tables Ben[_5_] Excel Programming 2 August 16th 03 04:35 PM


All times are GMT +1. The time now is 12:35 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"