View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ryguy7272 ryguy7272 is offline
external usenet poster
 
Posts: 2,836
Default Sorting and grouping data with varying number or rows

Have you tried using a Pivot Table? A Pivot Table will do both the sorting
and grouping.

http://peltiertech.com/Excel/Pivots/pivottables.htm

http://www.babeled.com/2008/07/18/ex...-manipulation/

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Vickie" wrote:

I have a large spreadsheet that is downloaded from another site.

Is there a formula to group rows from 'header' to next header?

I need to group 4 rows and then the corresponding data for the header rows
which varying in the number of rows e.g.

Header group
Date
Service Code
Name

Corresponding data: next 5 rows
Next header (as indicated above) can have 25 rows, etc.