Skip to content

Instantly share code, notes, and snippets.

@mariohuq
Last active January 12, 2020 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariohuq/f17a31ea8ab5b12ab0023b9c395915b6 to your computer and use it in GitHub Desktop.
Save mariohuq/f17a31ea8ab5b12ab0023b9c395915b6 to your computer and use it in GitHub Desktop.

A1: 12.01.2020

на 11 января 2020 года
="на "&TEXT(A1-1;"ДД ММММ ГГГГ[$-FC19]")&" года"

на "11" января 2020 года
="на "&SUBSTITUTE(TEXT(A1-1;"'ДД' ММММ ГГГГ[$-FC19]");"'";"""")&" года"

Проблема в том, что в аргумент format_text функции TEXT(value, format_text) не позволяет использовать двойные кавычки "" и выдает VALUE ERROR если найдет их в форматной строке

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment