If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > %Totals By Groups

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-17-04, 10:34
axapta axapta is offline
Registered User
 
Join Date: Apr 2004
Posts: 47
%Totals By Groups

Hello All,
I've attached a spreadsheet I am having problems with in working out % totals for 2 columns.
The calculations for each row within the group should be as follws:

%Turnover = Turnover(£)/Total Turnover for Group * 100.
%Profit = Profit(£)/Total Profit - for group * 100.

The spreadsheet is dynamic therefore the Total Turnover/Total Profit will almost always be in a different row. However, the columns are fixed.

I'm hoping someone will be able to revamp the existing code which quite nicely groups the records by Branch and totals up 3 of the columns..

Kind regards
Attached Files
File Type: zip sample2.zip (12.7 KB, 23 views)
Reply With Quote
  #2 (permalink)  
Old 04-21-04, 09:56
SnakePlissken SnakePlissken is offline
Registered User
 
Join Date: Apr 2004
Location: Poland
Posts: 6
Re: %Totals By Groups

I hope that attached file would be useful...
During my work I made many samples of code depending on tasks I've been asked so here I am if you want to share our experience :-)
Reply With Quote
  #3 (permalink)  
Old 04-21-04, 10:05
SnakePlissken SnakePlissken is offline
Registered User
 
Join Date: Apr 2004
Location: Poland
Posts: 6
I hope that attached file would be useful...
During my work I made many samples of code depending on tasks I've been asked so here I am if you want to share our experience :-)
Reply With Quote
  #4 (permalink)  
Old 04-21-04, 10:12
SnakePlissken SnakePlissken is offline
Registered User
 
Join Date: Apr 2004
Location: Poland
Posts: 6
I hope that attached file would be useful...
During my work I made many samples of code depending on tasks I've been asked so here I am if you want to share our experience :-)
Attached Files
File Type: zip entering_rows.zip (20.7 KB, 16 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On