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?

  • 2
    You tell me what you want to do at all, and they’ll tell you what formula is better to do it) - batman
  • I need to be considered a profit, expense, status on accounts, etc. from one page: Operations. I can show the full table, for this give your contacts :) - StokOne
  • batman In this section, the answers are written, clarifying questions are not the answer, they are written in the comments. - nick_n_a
  • @nick_n_a, I know, but they told me that not enough reputation for comment ( xs ) - batman
  • I need to make it counted as income, expense, account balance and so on. I attach screenshots of the full table: Operations: prntscr.com/bozqee Revenue: prntscr.com/bozql2 Consumption: prntscr.com/bozqsj - StokOne

1 answer 1

I do not understand what select SUM(E) means, but what prevents me from writing with ordinary type formulas:

 =если(МЕСЯЦ(СЕГОДНЯ())=7; [здесь указываем ячейку, если месяц = 7, ну или ссылку с этом самым label SUM(E)] ;0) 

This option can only work for the current year.