Gokhan_ciftcioglu
New Member
- Joined
- Mar 24, 2017
- Messages
- 30
Hi guys,
In Column A there are lots of dates from different years, and in column B there are numbers that I have to sum. the problem is; I need to sum the numbers according to months and years. Are there any way to do that by using array formulas. I don't want to use the SUMIF function by seperating the months and years as a number into other columns. The formula I am trying to use is below but it doesn't work.
F2 cell : 01.01.2017 for the below formula
SUM(IF(AND(YEAR($A$2:$A$800)=YEAR(F$2);MONTH($A$2:$A$800)=MONTH(F$2));$B$2:$B$800))
Thanks in advance
In Column A there are lots of dates from different years, and in column B there are numbers that I have to sum. the problem is; I need to sum the numbers according to months and years. Are there any way to do that by using array formulas. I don't want to use the SUMIF function by seperating the months and years as a number into other columns. The formula I am trying to use is below but it doesn't work.
F2 cell : 01.01.2017 for the below formula
SUM(IF(AND(YEAR($A$2:$A$800)=YEAR(F$2);MONTH($A$2:$A$800)=MONTH(F$2));$B$2:$B$800))
Thanks in advance