Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default summary table

I have a table as follows:

Account State 1 State 2 State 3 Week
ABC 12 13 141 1
XYZ 13 14 142 2
POP 155 444 1212 2
RSVP 15 28 144 1
XYZ 87 244 680 3
ABC 102 291 787 2
RSVP 117 339 895 2
RSVP 132 386 1003 3

and want to create a summary table as below:

Week 1 Week 2 Week 3
State 1
State 3
State 1+2+3

I am sure this is fairly simpe and wold appreciate any suggestions.

Thanks!!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default summary table

Have you tried a simple sumif function?
For example your Week1/State1 cell would be something like:
=SUMIF($E$2:$E9,1,$B$2:$B9)
Week1/State3: =SUMIF($E$2:$E10,1,$D$2:$D10)

Week1/State123 would be: =SUM(B15:B16)+SUMIF($E$2:$E11,1,$C$2:$C11)

Change the center ",1," reference to ",2," or ",3,"

More complex would be to build an array and populate the array, trickier.


"Monish" wrote:

I have a table as follows:

Account State 1 State 2 State 3 Week
ABC 12 13 141 1
XYZ 13 14 142 2
POP 155 444 1212 2
RSVP 15 28 144 1
XYZ 87 244 680 3
ABC 102 291 787 2
RSVP 117 339 895 2
RSVP 132 386 1003 3

and want to create a summary table as below:

Week 1 Week 2 Week 3
State 1
State 3
State 1+2+3

I am sure this is fairly simpe and wold appreciate any suggestions.

Thanks!!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default summary table

Thanks a lot...I knew it would be fairly simple. I am also having the first
table feed directly into Excel as a result of an Access query, so I will have
the summary table automated and shold probably denote teh whole column (i.e.
D:D) as I am not sure how long the query output will be each week.

BTW, like your movies...

"Candyman" wrote:

Have you tried a simple sumif function?
For example your Week1/State1 cell would be something like:
=SUMIF($E$2:$E9,1,$B$2:$B9)
Week1/State3: =SUMIF($E$2:$E10,1,$D$2:$D10)

Week1/State123 would be: =SUM(B15:B16)+SUMIF($E$2:$E11,1,$C$2:$C11)

Change the center ",1," reference to ",2," or ",3,"

More complex would be to build an array and populate the array, trickier.


"Monish" wrote:

I have a table as follows:

Account State 1 State 2 State 3 Week
ABC 12 13 141 1
XYZ 13 14 142 2
POP 155 444 1212 2
RSVP 15 28 144 1
XYZ 87 244 680 3
ABC 102 291 787 2
RSVP 117 339 895 2
RSVP 132 386 1003 3

and want to create a summary table as below:

Week 1 Week 2 Week 3
State 1
State 3
State 1+2+3

I am sure this is fairly simpe and wold appreciate any suggestions.

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
Need help with worksheet table and summary Bluemoon Excel Discussion (Misc queries) 2 May 1st 07 01:06 AM
Pivot Table Summary JRR Connector Excel Discussion (Misc queries) 1 March 14th 07 06:46 PM
Creating summary table from detail table RzB Excel Worksheet Functions 2 September 18th 06 08:57 AM
PIVOT TABLE - Summary Table into a Databasae Table. sansk_23 Excel Worksheet Functions 4 May 9th 05 07:45 AM
Pivot Table or Table Summary Help Please!! hugh jass Excel Programming 0 September 10th 03 06:41 PM


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