Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default How to sum values between dates

Hi

How to sum values from column B in column C according criteria date
from column A ?
I mean - Column A are date, Column B are values and Column C is the
place where I want to show the amount.

Thanks in advance
Osmario

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default How to sum values between dates

On Jul 9, 8:28*pm, "
wrote:
Hi

How to sum values from column B in column *C according criteria date
from column A ?
I mean - Column A are date, Column B are values and Column C is the
place where I want to show the amount.

Thanks in advance
Osmario


Before/after examples
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default How to sum values between dates

On 10 jul, 11:02, Don Guillett wrote:
On Jul 9, 8:28*pm, "
wrote:

Hi


How to sum values from column B in column *C according criteria date
from column A ?
I mean - Column A are date, Column B are values and Column C is the
place where I want to show the amount.


Thanks in advance
Osmario


Before/after examples


See data below

A B C
date value
14/01/11 400,00
16/01/11 402,00
18/01/11 404,00
20/01/11 406,00
22/01/11 408,00
24/01/11 410,00
26/01/11 412,00
28/01/11 414,00
30/01/11 416,00
01/02/11 418,00
03/02/11 420,00
05/02/11 422,00
07/02/11 424,00
09/02/11 426,00
11/02/11 428,00
13/02/11 430,00

I need a formula to sum in column C cells those match criteria January
or February or other month oy the year.
Thanks
Osmario
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 829
Default How to sum values between dates

" wrote:
A B C
date value
14/01/11 400,00
16/01/11 402,00

[....]
11/02/11 428,00
13/02/11 430,00

I need a formula to sum in column C cells those match
criteria January or February or other month oy the year.


You could write:

=SUMPRODUCT(--(MONTH(A1:A100)=1),B1:B100)

The double-negative (--) converts TRUE and FALSE to 1 and 0, which
SUMPRODUCT requires. The month number 1 represents January.

Alternatively, if C1 contains a date like 01/01/11 (Jan 1 2011), which you
can format as Custom mmmm if you want to see January, you could write:

=SUMPRODUCT(--(MONTH(A1:A100)=MONTH(C1)),B1:B100)

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
Lookup dates and values Suan Excel Worksheet Functions 5 July 21st 09 03:25 AM
Corresponding Values with Dates [email protected] Excel Worksheet Functions 10 August 21st 07 10:09 PM
Sum values between two dates Midget Excel Worksheet Functions 1 February 20th 07 10:34 PM
Sum values between dates Scott Frickman Excel Worksheet Functions 3 July 5th 05 09:59 PM
SUM values between dates Qaspec Excel Worksheet Functions 1 January 19th 05 03:45 PM


All times are GMT +1. The time now is 08:24 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"