Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kay Kay is offline
external usenet poster
 
Posts: 129
Default macro to Subtotal by Group

Hi,
I have this columns in my sheets

Project Status col 1 col 2 col 3
1Project in delivery 10.0 20.0 30.0
2Sold Projects 20.0 1,000.0 50.0
2Sold Projects 2,000.0 5,000.0 200.0
3Prospects 30.0 50,000.0 60.0


Could anyone please help to write macro to sum up the value for each column
by project status.

I want in other sheet when i run a macro
Project status col1 col 2 col 3
1Project in delivery 10.0 20.0 30.0
2Sold Projects 2,020.0 6,000.0 250.0
3Prospects 30.0 50,000.0 60.0


Thanks!



  #2   Report Post  
Posted to microsoft.public.excel.programming
Kay Kay is offline
external usenet poster
 
Posts: 129
Default macro to Subtotal by Group

Thanks!
I know we can do this with pivot table
but I need this subtotal in diff sheet to do some more calculation.
so i dont have much exp. in macro. that's why need help how can i do this
using macro.

Thanks!

"Wigi" wrote:

You don't need to program anything. Use a pivot table.


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"kay" wrote:

Hi,
I have this columns in my sheets

Project Status col 1 col 2 col 3
1Project in delivery 10.0 20.0 30.0
2Sold Projects 20.0 1,000.0 50.0
2Sold Projects 2,000.0 5,000.0 200.0
3Prospects 30.0 50,000.0 60.0


Could anyone please help to write macro to sum up the value for each column
by project status.

I want in other sheet when i run a macro
Project status col1 col 2 col 3
1Project in delivery 10.0 20.0 30.0
2Sold Projects 2,020.0 6,000.0 250.0
3Prospects 30.0 50,000.0 60.0


Thanks!



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
Subtotal Group Titles samcham Excel Programming 2 May 2nd 08 09:51 PM
Subtotal won't group GregR Excel Discussion (Misc queries) 5 June 1st 07 12:55 AM
Subtotal Report: Creating new sheet(tab) for each group? DavidJ[_2_] Excel Programming 1 January 13th 07 11:18 AM
Group / Outline / subtotal tikchye_oldLearner57 Excel Discussion (Misc queries) 0 June 22nd 06 11:47 AM
Excel subtotal group sort rick@bcbsne Excel Worksheet Functions 4 October 13th 05 12:31 AM


All times are GMT +1. The time now is 03:53 PM.

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"