sum problem

met

New Member
Joined
Apr 10, 2002
Messages
9
pls help. i dont know what to do with this. i need total of weekly data.

Col A Col B Col C
04-1 3 04/1-7/02 = 6
04-7 3 04/8-14/02 = 7
04-12 2 04/15-21/02 = 5
04-13 5 04/22-28/02 = 0
04-16 4 04/29-30/02 = 8
04-20 1
04-29 6
04-30 2

thanks in advance

met :)
This message was edited by met on 2002-04-14 07:04
 
On 2002-04-14 07:03, met wrote:
pls help. i dont know what to do with this. i need total of weekly data.

Col A Col B Col C
04-1 3 04/1-7/02 = 6
04-7 3 04/8-14/02 = 7
04-12 2 04/15-21/02 = 5
04-13 5 04/22-28/02 = 0
04-16 4 04/29-30/02 = 8
04-20 1
04-29 6
04-30 2

thanks in advance

met :)
This message was edited by met on 2002-04-14 07:04

Too easy! Just add Field names like those below...<html><body> <table BORDER=3 CELLSPACING=3 CELLPADDING=3 ><tr><td>Date </td><td>Value</td></tr><tr><td>04-1 </td><td>3</td></tr><tr><td>04-7 </td><td>3</td></tr><tr><td>04-12 </td><td>2</td></tr><tr><td>04-13 </td><td>5</td></tr><tr><td>04-16 </td><td>4</td></tr><tr><td>04-20 </td><td>1</td></tr><tr><td>04-29 </td><td>6</td></tr><tr><td>04-30 </td><td>2</td></tr></table>
 </body></html>

... and create a PivotTable with the 'Date' items grouped by Days starting at 4/1/2002, ending at 4/30/2002, and using an interval of 7 days...<html><body> <table BORDER=3 CELLSPACING=3 CELLPADDING=3 ><tr><td>Sum of Value</td><td> </td></tr><tr><td>Date</td><td>Total</td></tr><tr><td>4/1/02 - 4/7/02</td><td>6</td></tr><tr><td>4/8/02 - 4/14/02</td><td>7</td></tr><tr><td>4/15/02 - 4/21/02</td><td>5</td></tr><tr><td>4/22/02 - 4/28/02</td><td> </td></tr><tr><td>4/29/02 - 4/30/02</td><td>8</td></tr><tr><td>Grand Total</td><td>26</td></tr></table>
 </body></html>

Also, you'll want to check the "Show items with no data" option on the 'Date' PivotTable Field dialog.
This message was edited by Mark W. on 2002-04-20 12:37
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
hi to everyone! thanks Dave...the sumproduct formula really works. i appreciate everyone who pitched in. At least now i have different ways to solve this problem.

till next time!!!

met :)
 
Upvote 0

Forum statistics

Threads
1,215,026
Messages
6,122,738
Members
449,094
Latest member
dsharae57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top