Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ChuckW
 
Posts: n/a
Default Weekly and Monthly Subtotals

Hi,

I have a spreadsheet with six columns. They are Month, Day (day of the
month), Weekly Number (this relates to how many weeks in a month), Total
(daily sales Total), # of Sales and Daily Average. I created a subtotals
line that sums the sales for a given week. I did this by having excel sum
the total on a change in Week Number. This works fine. Now I want to sum
the sales for the month. I obviously don't want to include the weekly
subtotals in these figures since they can overlap per month. Can someone
help with creating a second subtotal line that sums the monthly sales but
excludes the weekly subtotals?

Thanks,



Month Day Week # Total # of Sales Daily Average
June 1 1 $973.06 2 $486.53
2 1 $1,067.05 3 $355.68
3 1 $- 0
1 Total $2,040.11 5 $408.02
6 2 $1,018.80 1 $1,018.80
7 2 $648.65 4 $162.16
8 2 $6,770.90 4 $1,692.73
9 2 $3,538.00 2 $1,769.00
10 2 $3,030.65 2 $1,515.33
2 Total $15,007.00 13 $1,154.38







--
Chuck W
  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=SUMPRODUCT(SUBTOTAL(9,OFFSET(Range,ROW(Range)-MIN(ROW(Range)),0,1)))

Note that subtotals within the range will be ignored.

Hope this helps!

In article ,
ChuckW wrote:

Hi,

I have a spreadsheet with six columns. They are Month, Day (day of the
month), Weekly Number (this relates to how many weeks in a month), Total
(daily sales Total), # of Sales and Daily Average. I created a subtotals
line that sums the sales for a given week. I did this by having excel sum
the total on a change in Week Number. This works fine. Now I want to sum
the sales for the month. I obviously don't want to include the weekly
subtotals in these figures since they can overlap per month. Can someone
help with creating a second subtotal line that sums the monthly sales but
excludes the weekly subtotals?

Thanks,



Month Day Week # Total # of Sales Daily Average
June 1 1 $973.06 2 $486.53
2 1 $1,067.05 3 $355.68
3 1 $- 0
1 Total $2,040.11 5 $408.02
6 2 $1,018.80 1 $1,018.80
7 2 $648.65 4 $162.16
8 2 $6,770.90 4 $1,692.73
9 2 $3,538.00 2 $1,769.00
10 2 $3,030.65 2 $1,515.33
2 Total $15,007.00 13 $1,154.38

  #3   Report Post  
ChuckW
 
Posts: n/a
Default

Domenic,

Thanks for your help. I am a novice excel user and am trying to figure out
how to do what you suggested. I got the weekly subtotal by using the
pulldowns. How would I do the monthly ones?

Thanks,

--
Chuck W


"Domenic" wrote:

Try...

=SUMPRODUCT(SUBTOTAL(9,OFFSET(Range,ROW(Range)-MIN(ROW(Range)),0,1)))

Note that subtotals within the range will be ignored.

Hope this helps!

In article ,
ChuckW wrote:

Hi,

I have a spreadsheet with six columns. They are Month, Day (day of the
month), Weekly Number (this relates to how many weeks in a month), Total
(daily sales Total), # of Sales and Daily Average. I created a subtotals
line that sums the sales for a given week. I did this by having excel sum
the total on a change in Week Number. This works fine. Now I want to sum
the sales for the month. I obviously don't want to include the weekly
subtotals in these figures since they can overlap per month. Can someone
help with creating a second subtotal line that sums the monthly sales but
excludes the weekly subtotals?

Thanks,



Month Day Week # Total # of Sales Daily Average
June 1 1 $973.06 2 $486.53
2 1 $1,067.05 3 $355.68
3 1 $- 0
1 Total $2,040.11 5 $408.02
6 2 $1,018.80 1 $1,018.80
7 2 $648.65 4 $162.16
8 2 $6,770.90 4 $1,692.73
9 2 $3,538.00 2 $1,769.00
10 2 $3,030.65 2 $1,515.33
2 Total $15,007.00 13 $1,154.38


  #4   Report Post  
Domenic
 
Posts: n/a
Default

I've misunderstood what you're looking for. See if the following
helps...

1) First, make sure that each cell in Column A contains the month for
the corresponding day...

a) Select/highlight Column A

b) Edit Go To Special Blanks Ok

c) Press =

d) Hit the 'Up Arrow' key

e) Press CONTROL+ENTER

2) Then, use SUBTOTAL to give you your monthly subtotals...

a) Select your data, including your headers

b) Data Subtotals

At each change in: Month

Use function: Sum

Add subtotal to: check the appropriate header/column

Replace current subtotals: uncheck this option

Click Ok

Hope this helps!

In article ,
ChuckW wrote:

Domenic,

Thanks for your help. I am a novice excel user and am trying to figure out
how to do what you suggested. I got the weekly subtotal by using the
pulldowns. How would I do the monthly ones?

Thanks,

--
Chuck W

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
formula to divide a monthly bill... Kim Excel Worksheet Functions 6 August 17th 05 09:29 PM
Converting Weekly Data into Monthly Averages Kaine Excel Discussion (Misc queries) 2 February 25th 05 09:03 AM
OFFSET function to pick up monthly groups of data Gary T Excel Worksheet Functions 2 January 14th 05 02:13 PM
Weekly data allocated to months Henry Bolton Excel Worksheet Functions 2 December 13th 04 02:15 PM
Weekly data allocated to months Henry Bolton Excel Worksheet Functions 2 December 13th 04 09:53 AM


All times are GMT +1. The time now is 07:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"