https://msoffice-prowork.com/ref/excel/excelfunc/logical/switch/
Функция ПЕРЕКЛЮЧ (SWITCH)