{"text_format":"1","workbook":"xlsx","n_sheets":1,"sheets":["Лист1"],"not_rendered":{"charts":0,"images":0,"macros":1,"external_links":0,"defined_names":0,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Лист1","index":0,"n_rows":16,"n_cols":7,"rows_kept":16,"cut":false,"hidden":false,"merged":[]}
["2021-01-31","2022-03-31",null,1000000,10,null,"Макрос для формул"]
["2022-01-01","2023-01-01",null,1000000,10,null,"Посты 4 и 17"]
[]
[]
[]
[null,null,{"$f":"--SUBSTITUTE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),12,31),LARGE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),12,31),1),B1)-(--SUBSTITUTE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),1,1),SMALL(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),1,1),1),A1+1))+1","v":334},"результат формулы Excel"]
[null,null,90]
[]
[]
[null,null,{"$f":"--SUBSTITUTE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),12,31),LARGE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),12,31),1),B1)-(--SUBSTITUTE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),1,1),SMALL(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),1,1),1),A1+1))+1","v":424},"результат формулы макроса переделаной согласно поста 4"]
[]
[]
[]
[]
[]
[null,null,{"$f":"--SUBSTITUTE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),12,31),LARGE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),12,31),1),B1)-(--SUBSTITUTE(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),1,1),SMALL(DATE(ROW(INDIRECT(YEAR(A1)&\":\"&YEAR(B1))),1,1),1),A1+1))+1","v":424},"результат формулы макроса полученной путем формирования макросом из поста 17"]