Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Group cells during sort

Hello,
I have a sheet that has column A marked with a priority level. A, B, C and
so on down the sheet. Across from that I have colum B with the project it
applies too.
In column C I have the details of each project listed down about 4 cells
each. Now heres the question. Is there a way to group the block of rows
together so if I sort by priority A, B, C... the blocks stay linked? If I
sort now, it rearranges all of rows independantly. Thanks in advance for any
help!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Group cells during sort

hi
excel has no built in sort function for this that i am aware of. usually
custom sorts are done with a helper column added to the side of the data.
how many priority levels do you have?
if less than 7 for 2003(16 for 2007 I think), you might be able to use a
helper formula in the the helper column.
if(A1="A",1,if(A1="B",2,if(A1="C",3,if(A1="D",4,0) )))
this would place a one in the helper column on the same row as all the A's,
a 2 on the row with the B's and so on.
you can then sort by the helper column as primary sort and some other as
secondary sort. this would "group" all the A's,B's and C's.

Regards
FSt1
"John Boyee" wrote:

Hello,
I have a sheet that has column A marked with a priority level. A, B, C and
so on down the sheet. Across from that I have colum B with the project it
applies too.
In column C I have the details of each project listed down about 4 cells
each. Now heres the question. Is there a way to group the block of rows
together so if I sort by priority A, B, C... the blocks stay linked? If I
sort now, it rearranges all of rows independantly. Thanks in advance for any
help!!

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
Can you sort within worksheet with grouped cells & keep cell group A Kelly Excel Worksheet Functions 0 August 21st 07 04:34 PM
How do I sort a group of calculated cells in Excel? Benny cannot figure otu the solution Excel Worksheet Functions 2 July 5th 05 08:55 PM
Trying to group cells so that I can sort the upper most cell with. magnetoworld New Users to Excel 8 March 14th 05 07:17 PM
How do i sort a group of cells from highest to lowest JulieR Excel Discussion (Misc queries) 2 March 8th 05 08:31 PM
How can I group a bunch of cells together, so I can sort by colum. Pleasehelpme Excel Worksheet Functions 1 November 6th 04 04:06 AM


All times are GMT +1. The time now is 05:15 PM.

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

About Us

"It's about Microsoft Excel"