marcothexer
New Member
- Joined
- Jan 17, 2016
- Messages
- 7
[TABLE="class: grid, width: 1000, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]M[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1/1/16[/TD]
[TD="align: center"](WEEK 1)[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1/8/16[/TD]
[TD="align: center"](WEEK 2)[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1/15/16[/TD]
[TD="align: center"](WEEK 3)[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1/22/16[/TD]
[TD="align: center"](WEEK 4)[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]PRODUCT[/TD]
[TD="align: center"]AREA[/TD]
[TD="align: center"]SALES[/TD]
[TD="align: center"]PRODUCT[/TD]
[TD="align: center"]AREA[/TD]
[TD="align: center"]SALES[/TD]
[TD="align: center"]PRODUCT[/TD]
[TD="align: center"]AREA[/TD]
[TD="align: center"]SALES[/TD]
[TD="align: center"]PRODUCT[/TD]
[TD="align: center"]AREA
[/TD]
[TD="align: center"]SALES[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]SALES PERSON 1[/TD]
[TD="align: center"]P1[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]1200[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NJ[/TD]
[TD="align: center"]800[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]PA[/TD]
[TD="align: center"]1100[/TD]
[TD="align: center"]P2[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]800[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]SALES PERSON 2[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]PA[/TD]
[TD="align: center"]800[/TD]
[TD="align: center"]P1[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]1200[/TD]
[TD="align: center"]P4[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]1900[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NJ[/TD]
[TD="align: center"]1200[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]SALES PERSON 3[/TD]
[TD="align: center"]P2[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]1000[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]2000[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]1600[/TD]
[TD="align: center"]P1[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]800[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]SALES PERSON 4[/TD]
[TD="align: center"]P4[/TD]
[TD="align: center"]NJ[/TD]
[TD="align: center"]400[/TD]
[TD="align: center"]P2[/TD]
[TD="align: center"]PA[/TD]
[TD="align: center"]500[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]2000[/TD]
[TD="align: center"]P4[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]900[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]SALES PERSON 5[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]1200[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]1600[/TD]
[TD="align: center"]P2[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]600[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NJ[/TD]
[TD="align: center"]700[/TD]
[/TR]
</tbody>[/TABLE]
Sales persons on different states with different Products and their sales figures.
Every 3 column is dedicated to a week.
The actual table extends up to 12 weeks and around 60 sales persons and P3 is my focused product.
How can I;
Sum up the sale totals of each sales person, (lets say) from week 2 until week 6?
Sum up the sale totals of Product 3, (lets say) from week 2 until week 6 for each sales person?
Thanks.
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]M[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1/1/16[/TD]
[TD="align: center"](WEEK 1)[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1/8/16[/TD]
[TD="align: center"](WEEK 2)[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1/15/16[/TD]
[TD="align: center"](WEEK 3)[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1/22/16[/TD]
[TD="align: center"](WEEK 4)[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]PRODUCT[/TD]
[TD="align: center"]AREA[/TD]
[TD="align: center"]SALES[/TD]
[TD="align: center"]PRODUCT[/TD]
[TD="align: center"]AREA[/TD]
[TD="align: center"]SALES[/TD]
[TD="align: center"]PRODUCT[/TD]
[TD="align: center"]AREA[/TD]
[TD="align: center"]SALES[/TD]
[TD="align: center"]PRODUCT[/TD]
[TD="align: center"]AREA
[/TD]
[TD="align: center"]SALES[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]SALES PERSON 1[/TD]
[TD="align: center"]P1[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]1200[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NJ[/TD]
[TD="align: center"]800[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]PA[/TD]
[TD="align: center"]1100[/TD]
[TD="align: center"]P2[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]800[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]SALES PERSON 2[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]PA[/TD]
[TD="align: center"]800[/TD]
[TD="align: center"]P1[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]1200[/TD]
[TD="align: center"]P4[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]1900[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NJ[/TD]
[TD="align: center"]1200[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]SALES PERSON 3[/TD]
[TD="align: center"]P2[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]1000[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]2000[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]1600[/TD]
[TD="align: center"]P1[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]800[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]SALES PERSON 4[/TD]
[TD="align: center"]P4[/TD]
[TD="align: center"]NJ[/TD]
[TD="align: center"]400[/TD]
[TD="align: center"]P2[/TD]
[TD="align: center"]PA[/TD]
[TD="align: center"]500[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]2000[/TD]
[TD="align: center"]P4[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]900[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]SALES PERSON 5[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]1200[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NY[/TD]
[TD="align: center"]1600[/TD]
[TD="align: center"]P2[/TD]
[TD="align: center"]CT[/TD]
[TD="align: center"]600[/TD]
[TD="align: center"]P3[/TD]
[TD="align: center"]NJ[/TD]
[TD="align: center"]700[/TD]
[/TR]
</tbody>[/TABLE]
Sales persons on different states with different Products and their sales figures.
Every 3 column is dedicated to a week.
The actual table extends up to 12 weeks and around 60 sales persons and P3 is my focused product.
How can I;
Sum up the sale totals of each sales person, (lets say) from week 2 until week 6?
Sum up the sale totals of Product 3, (lets say) from week 2 until week 6 for each sales person?
Thanks.