WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help with summing a range based on a date

 
   Home -> Office -> Worksheet Functions RSS
Next:  Pivot Table Report Filter - "OR" instea..  
Author Message
VinceW

External


Since: Oct 28, 2009
Posts: 1



(Msg. 1) Posted: Wed Oct 28, 2009 12:10 pm
Post subject: Help with summing a range based on a date
Archived from groups: microsoft>public>excel>worksheet>functions (more info?)

A partial list of my data is below. A2 - A3800 are dates, B2 - J3800 is the
data. I need a total by month, so I need to know the total for July, August,
etc. Sumproduct works if the data is in 2 columns but not with the dates in
a column and the data in a range.

Your help is appreciated.

A1 B1 C1 D1
Date Acct 1 Acct 2 Acct 3
7/1/09 $56.00 $34.00 $130
7/10/09 $57.00 $76.00 $230
7/13/09 $95.00 $33.00 $630
8/12/09 $78.00 $0.00 $270
8/16/09 $39.00 $79.00 $830
8/31/09 $87.00 $3.00 $278
Back to top
Login to vote
ryguy7272

External


Since: Dec 16, 2006
Posts: 677



(Msg. 2) Posted: Wed Oct 28, 2009 12:55 pm
Post subject: RE: Help with summing a range based on a date [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok, so go to an adjacent cell, like E2, and paste this formula in:
=TEXT(A2,"mm")
that will give you the month. Fill down to the bottom. Copy the entire
column and paste/special Values over the data in column A (make sure all rows
line up, of course). Make sure you have a column Heading in Column A. Delete
Column E. Click anywhere in the dataset, Data > Pivot Table > Finish. Drag
and drop "Dates" in rows and drag and drop the other stuff in Data area.
Make sure it Sums; sometimes Pivot Tables default to Count and you have to
manually enable the Sum feature.

HTH,
Ryan---




--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"VinceW" wrote:

> A partial list of my data is below. A2 - A3800 are dates, B2 - J3800 is the
> data. I need a total by month, so I need to know the total for July, August,
> etc. Sumproduct works if the data is in 2 columns but not with the dates in
> a column and the data in a range.
>
> Your help is appreciated.
>
> A1 B1 C1 D1
> Date Acct 1 Acct 2 Acct 3
> 7/1/09 $56.00 $34.00 $130
> 7/10/09 $57.00 $76.00 $230
> 7/13/09 $95.00 $33.00 $630
> 8/12/09 $78.00 $0.00 $270
> 8/16/09 $39.00 $79.00 $830
> 8/31/09 $87.00 $3.00 $278
>
Back to top
Login to vote
Ashish Mathur

External


Since: May 21, 2005
Posts: 472



(Msg. 3) Posted: Thu Oct 29, 2009 1:05 pm
Post subject: Re: Help with summing a range based on a date [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

Create a pivot table (Drag date to the row area and amount to the data
area). Now while you are on any cell in the date column, press the pivot
table button the pivot table toolbar and select Group and Show detail >
Group. Select months

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"VinceW" <VinceW.TakeThisOut@discussions.microsoft.com> wrote in message
news:6039FF7A-9C5C-447F-9821-57BCBD613F9B@microsoft.com...
> A partial list of my data is below. A2 - A3800 are dates, B2 - J3800 is
> the
> data. I need a total by month, so I need to know the total for July,
> August,
> etc. Sumproduct works if the data is in 2 columns but not with the dates
> in
> a column and the data in a range.
>
> Your help is appreciated.
>
> A1 B1 C1 D1
> Date Acct 1 Acct 2 Acct 3
> 7/1/09 $56.00 $34.00 $130
> 7/10/09 $57.00 $76.00 $230
> 7/13/09 $95.00 $33.00 $630
> 8/12/09 $78.00 $0.00 $270
> 8/16/09 $39.00 $79.00 $830
> 8/31/09 $87.00 $3.00 $278
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Worksheet Functions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support