=OR(
AND(
INDIRECT("RC";0)<>""
;INDIRECT("RC[1]";0)<>""
;INDIRECT("RC[2]";0)<>""
;INDIRECT("RC[3]";0)<>""
;INDIRECT("RC[4]";0)<>""
);
AND(
INDIRECT("RC";0)<>""
;INDIRECT("RC[-1]";0)<>""
;INDIRECT("RC[1]";0)<>""
;INDIRECT("RC[2]";0)<>""
;INDIRECT("RC[3]";0)<>""
);
AND(
INDIRECT("RC";0)<>""
;INDIRECT("RC[-1]";0)<>""
;INDIRECT("RC[-2]";0)<>""
;INDIRECT("RC[1]";0)<>""
;INDIRECT("RC[2]";0)<>""
);
AND(
INDIRECT("RC";0)<>""
;INDIRECT("RC[-1]";0)<>""
;INDIRECT("RC[-2]";0)<>""
;INDIRECT("RC[-3]";0)<>""
;INDIRECT("RC[1]";0)<>""
);
AND(
INDIRECT("RC";0)<>""
;INDIRECT("RC[-1]";0)<>""
;INDIRECT("RC[-2]";0)<>""
;INDIRECT("RC[-3]";0)<>""
;INDIRECT("RC[-4]";0)<>""
)
)
=ЯЧЕЙКА("имяфайла")
=ПОИСК("]";A1)
=ПСТР(A1;B1+1;ДЛСТР(A1)-B1)
=ПСТР(
ЯЧЕЙКА("имяфайла";A1)
;ПОИСК("]";ЯЧЕЙКА("имяфайла";A1)) + 1
;ДЛСТР(ЯЧЕЙКА("имяфайла";A1)) - ПОИСК("]";ЯЧЕЙКА("имяфайла";A1))
)