LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Len Len is offline
external usenet poster
 
Posts: 162
Default Subtotal GroupBy text string

Hi,


Is there anyway to use excel vba codes in a worksheet of about 20 or
3,000 rows or more ( ie dynamic rows and can be no row at all ), that
can subtotal column B to N for each group of text string in column A
which has met full or partial similar text.
The Subtotal will insert after each grouping in every Section ( total
6 sections )
The results will display subtotal with each grouping of similar text
string that fully or partially matched the text string within the same
group together with grand total ( ie include subtotal )


E.g.

ColA ColB C D E ----N
Section A
xxxxxxxxxxxxx 3 1 0 6
xxx Apple xxxxx 20 5 2 3
xxxxxxxxxxx 4 8 12 70
Apple xxxxxxx 1 0 6 150
xxxxxxxxxxxxx 70 6 15 33
"Total Apple" 21 5 8 153
xxxxxxxxxxxx 6 14 0 11
Bananaxxxxxx 0 2 6 10
xxxxxxxxxxxx 9 9 17 6
"Total Banana" 0 2 6 10
xxxxxxxxxxxx 8 35 99 55
Grand Total zzz zz zz zzz

Section B
xxxxxxxxxxxxx 8 0 16 80
xxxxxOrangexx 1 2 3 4
xxxxxxxxxxxxxv 5 6 7 8
xxxxxxxxOrange 9 10 11 12
Orangexxxxxx 13 14 15 16
"Total Orange" 23 26 28 32
xxxxxxxxxxxx 1 2 3 6
xxxxxxxxxxxx 6 5 3 4
xxxxxxxxxxxx 5 4 8 11
Grand Total yyy yy yy yyy


Any helps will be greatly appreciated and thanks in advance


Regards
Len



 
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
Find Text the Apply a SubTotal Next to Text Address RyanH Excel Programming 1 January 22nd 08 04:11 PM
Change 3 letter text string to a number string Pete Excel Discussion (Misc queries) 3 December 31st 07 07:47 PM
Splitting a text string into string and number mcambrose Excel Discussion (Misc queries) 4 February 21st 06 03:47 PM
Mimicking an GroupBy Clause in Excel GreyPilgrim Excel Programming 3 February 1st 06 08:15 PM
Barchart 'GroupBy' Question [email protected] Charts and Charting in Excel 1 December 16th 04 10:47 PM


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