Here are two screenshots: http://prntscr.com/bin23c is the formula itself, I will attach another code here. Here is the page where the formula should work: http://prntscr.com/bin2ti
If I substitute data in the range of 'Operations'! $ A: $ G, then the table is in any case = 0 What is the incorrectness of the current formula?
=iferror(QUERY('Операции'!$A:$G;"select SUM(E) where A >= date '2016-04-01' and A <= date '2016-04-31' and C = """&$A2&""" Label SUM(E) ''";);0) Perhaps there are analogues of this formula?