ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sum (https://www.excelbanter.com/excel-discussion-misc-queries/117876-sum.html)

kyoshirou

sum
 
using formula =SUMIF(range, criteria)

for that range and criteria, can we apply using date instead of range?
Such that we the date can be arrange from year 06. So that all information
fall under 06 will auto add up.

any tips?

Biff

sum
 
Try this:

Dates in the range A1:20
Values to sum in the range B1:20

=SUMPRODUCT(--(YEAR(A1:A20)=2006),B1:B20)

Biff

"kyoshirou" wrote in message
...
using formula =SUMIF(range, criteria)

for that range and criteria, can we apply using date instead of range?
Such that we the date can be arrange from year 06. So that all information
fall under 06 will auto add up.

any tips?




Dave Peterson

sum
 
Why the new thread?

kyoshirou wrote:

using formula =SUMIF(range, criteria)

for that range and criteria, can we apply using date instead of range?
Such that we the date can be arrange from year 06. So that all information
fall under 06 will auto add up.

any tips?


--

Dave Peterson

kyoshirou

sum
 
Hi Biff,

cant..
the error is #VALUE!


Hi Dave,
posting another one with no details for easy input.




"Biff" wrote:

Try this:

Dates in the range A1:20
Values to sum in the range B1:20

=SUMPRODUCT(--(YEAR(A1:A20)=2006),B1:B20)

Biff

"kyoshirou" wrote in message
...
using formula =SUMIF(range, criteria)

for that range and criteria, can we apply using date instead of range?
Such that we the date can be arrange from year 06. So that all information
fall under 06 will auto add up.

any tips?






All times are GMT +1. The time now is 08:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com