Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Sums between dates

Hi
I have a spreadsheet with this strucure and I want to fill cells that have
sums of the entries in each year

A B
20/09/08 100
31/08/08 200
15/09/08 150

need a cell with the total of all values in column B in the month of 09/08
then 08/08 etc

total would be 250

Please help


--
NumbersDevon
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Sums between dates

=SUMPRODUCT((Year(A1:A100)=2008)*((MONTH(A1:A100)= 8)+(MONTH(A1:A100)=9))*B1:B100
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"NumbersDevon" wrote in message
...
Hi
I have a spreadsheet with this strucure and I want to fill cells that have
sums of the entries in each year

A B
20/09/08 100
31/08/08 200
15/09/08 150

need a cell with the total of all values in column B in the month of 09/08
then 08/08 etc

total would be 250

Please help


--
NumbersDevon



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Sums between dates

Hi

Put this in a cell and drag down to get the sum of each month in 2008

=SUMPRODUCT((MONTH($A$1:$A$10)=ROW(A1))*(YEAR($A$1 :$A$10)=2008)*($B$1:$B$10))

Mike

"NumbersDevon" wrote:

Hi
I have a spreadsheet with this strucure and I want to fill cells that have
sums of the entries in each year

A B
20/09/08 100
31/08/08 200
15/09/08 150

need a cell with the total of all values in column B in the month of 09/08
then 08/08 etc

total would be 250

Please help


--
NumbersDevon

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Sums between dates

You could do it this way:

=SUMPRODUCT(--(TEXT(A$1:A$10,"mmm-yy")="Sep-08"),B$1:B$10)

Adjust the ranges to suit. For August just change "Sep-08" to
"Aug-08".

Hope this helps.

Pete

On Nov 25, 1:51*pm, NumbersDevon
wrote:
Hi
I have a spreadsheet with this strucure and I want to fill cells that have
sums of the entries in each year

A * * * * * * * * * * * * * B * * * * * * * * * * * *
20/09/08 * * * * * *100
31/08/08 * * * * * *200
15/09/08 * * * * * *150

need a cell with the total of all values in column B in the month of 09/08
then 08/08 *etc

total would be 250

Please help *

--
NumbersDevon


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Sums between dates

Sort your data, then use Subtotal


"NumbersDevon" wrote:

Hi
I have a spreadsheet with this strucure and I want to fill cells that have
sums of the entries in each year

A B
20/09/08 100
31/08/08 200
15/09/08 150

need a cell with the total of all values in column B in the month of 09/08
then 08/08 etc

total would be 250

Please help


--
NumbersDevon

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
sums KELLEE Excel Discussion (Misc queries) 4 February 7th 08 09:49 PM
How to add previous sums in a column to current sums in a column? TD Excel Worksheet Functions 1 September 30th 06 02:55 PM
Sums madmam Excel Discussion (Misc queries) 2 July 27th 06 04:56 PM
Ignoring Dates in Sums Michael Link Excel Discussion (Misc queries) 4 April 4th 06 08:51 PM
Sums Jet Excel Discussion (Misc queries) 5 January 13th 05 06:51 PM


All times are GMT +1. The time now is 10:47 PM.

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

About Us

"It's about Microsoft Excel"