LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Label the Groups

I have a spreadsheet with each row identified with a group name.

GrpName
Grp A
Grp B
Grp C
Grp B
Grp A
Grp C
Grp B

I have successfully built a macro to sort the data by the groups and put 3
blank rows between each group. So after the macro runs, it looks like this:


GrpName
<3 blank rows
Grp A
Grp A
<3 blank rows
Grp B
Grp B
Grp B
<3 blank rows
Grp C
Grp C

I'm creating client-ready reports, so I need to label each group with a
little descriptive sentence.

What I want to end up with is:

GrpName
<2 blank rows
The people in Group A are very nice.
Grp A
Grp A
<2 blank rows
The people in Group B are sometimes nice.
Grp B
Grp B
Grp B
<2 blank rows
The people is Group C are never nice.
Grp C
Grp C

I've been trying to get something to work all afternoon with all sorts of
interesting results. Any ideas?

Thanks in advance!


 
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
Changing the font for part of an axis label, not the whole label. amy45 Charts and Charting in Excel 2 April 5th 23 01:11 PM
Excel - Sorting groups in groups due to subtotaling [email protected] Excel Worksheet Functions 3 April 4th 08 06:13 PM
How to rezize data label box in pie charts (label wraps to two lin rolliedogg Charts and Charting in Excel 1 October 18th 06 08:17 PM
COPY LABEL FORM FROM EXCEL TO A LABEL xrayAndi New Users to Excel 1 March 5th 06 02:21 PM
how do i view all groups under excel in google groups JulieD Excel Discussion (Misc queries) 2 December 16th 04 04:33 PM


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