i need sum values in column F, but only if in column E is date 5.2.2016. The problem is that the values in column E are results of index function. Is it possible?
Adding few things more things, needs to be cleared...
1) Your formula in A1:
=IFERROR(IF((IF(AND(MONTH(A$7)=MONTH($B1),YEAR(A$7)=YEAR($B1)),1,IF(($B1)>(A$7),#REF!+1,"")))>A$8,"",(IF(AND(MONTH(A$7)=MONTH($B1),YEAR(A$7)=YEAR($B1)),1,IF(($B1)>(A$7),#REF!+1,"")))),"")
is copied down till A17, causing circular references in A7 and A8.
2) There are 2 #REF!
3) There is no date in column A, then why you have used MONTH(A7) and YEAR(A7) ?