#1   Report Post  
stuart.young
 
Posts: n/a
Default Grouping


I have a monthly spreadsheet exported from an sql database, listing
invoice details.
Each row represents one line from an invoice my problem is I need to
group the rows by invoice number, however there are 2 added
complications, firstly, there is a second column that needs grouping
and a column which when grouped needs to be totalled e.g
A B C D

0035 12345 10 0
0035 12345 89 17.50
0001 12345 1 0

The above example is all 1 invoice number 12345, below is how the end
result should look, grouping by B and then A, totalling the grouped
columns of C and D

0035 12345 99 17.50
0001 12345 1 0
HELLLLLLLLLLLLLP!!!!!!!!!!!!!


--
stuart.young
------------------------------------------------------------------------
stuart.young's Profile: http://www.excelforum.com/member.php...o&userid=25765
View this thread: http://www.excelforum.com/showthread...hreadid=391741

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

It looks like either Data|Subtotals or data|pivottable would come very close to
what you want.

"stuart.young" wrote:

I have a monthly spreadsheet exported from an sql database, listing
invoice details.
Each row represents one line from an invoice my problem is I need to
group the rows by invoice number, however there are 2 added
complications, firstly, there is a second column that needs grouping
and a column which when grouped needs to be totalled e.g
A B C D

0035 12345 10 0
0035 12345 89 17.50
0001 12345 1 0

The above example is all 1 invoice number 12345, below is how the end
result should look, grouping by B and then A, totalling the grouped
columns of C and D

0035 12345 99 17.50
0001 12345 1 0
HELLLLLLLLLLLLLP!!!!!!!!!!!!!

--
stuart.young
------------------------------------------------------------------------
stuart.young's Profile: http://www.excelforum.com/member.php...o&userid=25765
View this thread: http://www.excelforum.com/showthread...hreadid=391741


--

Dave Peterson
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
Allow "stacking" or "grouping" of tabs in excel djdima Setting up and Configuration of Excel 1 May 27th 05 03:07 AM
How to unprotect Grouping controls Bob Laithwaite Excel Worksheet Functions 1 May 18th 05 01:32 AM
grouping of cells in protected sheets Christian Galbavy Excel Worksheet Functions 1 May 10th 05 12:32 AM
Date Format Pivot Grouping Easton Excel Discussion (Misc queries) 1 March 8th 05 12:53 PM
how to format numbers, digit grouping ,as per regional settings Mayank Excel Discussion (Misc queries) 3 December 31st 04 04:45 AM


All times are GMT +1. The time now is 11:35 AM.

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"