Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Linda Mills
 
Posts: n/a
Default How do I group rows prior to a data sort so they stay together?

I have created a sales prospecting report that also tracks estimated revenue
over the next 16 months. For the revenue purposes, I am also tracking (in
separate rows for each project) estimated 1: revenue; 2: expenses: net with a
repeating header. All in all, for each project, I have 4 rows I want to keep
together in a sort.

Is there a way to do this in excel?
  #2   Report Post  
FSt1
 
Posts: n/a
Default

hi,
there is no xl function or menu item that will do this. but you can do it
with a helper column which is a added column(which you can hide) that is used
for sorting only. assign each group a sort order number in the helper column
so that it will sort in the order you wish then used the sort(helper) column
as the first sort order.

worked for me before.

Regards
FSt1

"Linda Mills" wrote:

I have created a sales prospecting report that also tracks estimated revenue
over the next 16 months. For the revenue purposes, I am also tracking (in
separate rows for each project) estimated 1: revenue; 2: expenses: net with a
repeating header. All in all, for each project, I have 4 rows I want to keep
together in a sort.

Is there a way to do this in excel?

  #4   Report Post  
Linda Mills
 
Posts: n/a
Default

I tried this but the methodology wasn't effective - I think it was because I
tried 1a, 1b, 1c, 1d, 2a, etc. I eventually repeated the entries for each of
the 4 rows ("customer" was the 2nd sort parameter and "status" was the
first). To make them sort in the order I wanted (not alphabetically), I put
a 1, 2, 3 in front of the "parameter" (in this case, 1I for imminent, 2Pr for
probable, etc. and for aesthetics, whited the repeated fonts so it wouldn't
busy-up the page.

Thanks very much for your response.

"FSt1" wrote:

hi,
there is no xl function or menu item that will do this. but you can do it
with a helper column which is a added column(which you can hide) that is used
for sorting only. assign each group a sort order number in the helper column
so that it will sort in the order you wish then used the sort(helper) column
as the first sort order.

worked for me before.

Regards
FSt1

"Linda Mills" wrote:

I have created a sales prospecting report that also tracks estimated revenue
over the next 16 months. For the revenue purposes, I am also tracking (in
separate rows for each project) estimated 1: revenue; 2: expenses: net with a
repeating header. All in all, for each project, I have 4 rows I want to keep
together in a sort.

Is there a way to do this in excel?

  #5   Report Post  
Linda Mills
 
Posts: n/a
Default

Jim, thank you. This somewhat helped. I had done this for the primary
sorter columns but not for the secondary. When I saw your link, I did it for
the secondary also and it sorted fine. For aesthetics, I put the "repeated"
entries in a white font so that it didn't "complicate" the look of the
spreadsheet.

Thank you very much.

Linda

"Jim Cone" wrote:

Linda,

You might also check out this approach from John Walkenbach...
http://j-walk.com/ss/excel/usertips/tip040.htm


Regards,
Jim Cone
San Francisco, USA

"Linda Mills" <Linda wrote in message
...
I have created a sales prospecting report that also tracks estimated revenue
over the next 16 months. For the revenue purposes, I am also tracking (in
separate rows for each project) estimated 1: revenue; 2: expenses: net with a
repeating header. All in all, for each project, I have 4 rows I want to keep
together in a sort.

Is there a way to do this in excel?

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
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 07:11 PM
Calculate cell row and column Barb R. Excel Discussion (Misc queries) 7 May 2nd 05 07:02 PM
Unhiding rows using data validation Mr. G. Excel Worksheet Functions 0 April 7th 05 06:37 PM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM
Insert rows Mr. G. Excel Worksheet Functions 3 March 31st 05 03:49 AM


All times are GMT +1. The time now is 04:30 AM.

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"