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.
> I have a table as follows:
>
[quoted text clipped - 18 lines]
>
> Thanks!!
Monish - 21 Mar 2006 06:30 GMT
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...
> Have you tried a simple sumif function?
> For example your Week1/State1 cell would be something like:
[quoted text clipped - 29 lines]
> >
> > Thanks!!