There are two columns with numbers A and B. Please tell me how you can write a formula in column C, so that the letter is placed in the cell according to the conditions in the table?
2 answers
In case you do not want hard coding a lot 袠袥袠 :
1) Make groups in the matrix of substitutions (0-4, 0-8) (only needed for clarity) 
2) Add columns for group A and B on the data sheet ( 械褋谢懈 ) (0-4, 0-8)
3) Use 袠袧袛袝袣小 on the substitution matrix and additional columns (offsets) 
- Thank you very much! I have already written in one long line, but this method seems more promising to me, I will try to learn. - Maximus
For a
=袝小袥袠(袠袥袠(袠(A1<3;B1>2);袠(A1<1;B1>1,8;B1<=2));"A";0) For B
=袝小袥袠(袠袥袠(袠(A1>=3;A1<5;B1>2);袠(A1>=1;A1<5;B1>1,8;B1<=2);袠(A1<2;B1>1,1;B1<=1,8));"B";0) For C
=袝小袥袠(袠袥袠(袠(A1<9;A1>=5;B1>1,8);袠(A1>=2;A1<5;B1>1,1;B1<=1,8);袠(A1<2;B1>0,5;B1<=1,1));"C";0) For D
=袝小袥袠(袠袥袠(袠(A1>=9;B1>-2);袠(A1>=9;B1<=-2);袠(A1>=5;A1<9;B1<=1,8;B1>-2);袠(A1>=3;A1<5;B1<=1,1;B1>-2);袠(A1>=2;A1<3;B1<=1,1;B1>0);袠(A1<2;B1<=0,5;B1>0));"D";0) For e
=袝小袥袠(袠袥袠(袠(A1>=2;A1<3;B1<=0;B1>-2);袠(A1>=3;A1<9;B1<=-2));"E";0) For f
=袝小袥袠(袠袥袠(袠(A1<2;B1<=0;B1>-2);袠(A1<3;B1<=-2));"F";0) Putting it all in one expression:
=袝小袥袠(袠袥袠(袠(A1<3;B1>2);袠(A1<1;B1>1,8;B1<=2));"A";=袝小袥袠(袠袥袠(袠(A1>=3;A1<5;B1>2);袠(A1>=1;A1<5;B1>1,8;B1<=2);袠(A1<2;B1>1,1;B1<=1,8));"B";=袝小袥袠(袠袥袠(袠(A1<9;A1>=5;B1>1,8);袠(A1>=2;A1<5;B1>1,1;B1<=1,8);袠(A1<2;B1>0,5;B1<=1,1));"C";=袝小袥袠(袠袥袠(袠(A1>=9;B1>-2);袠(A1>=9;B1<=-2);袠(A1>=5;A1<9;B1<=1,8;B1>-2);袠(A1>=3;A1<5;B1<=1,1;B1>-2);袠(A1>=2;A1<3;B1<=1,1;B1>0);袠(A1<2;B1<=0,5;B1>0));"D";=袝小袥袠(袠袥袠(袠(A1>=2;A1<3;B1<=0;B1>-2);袠(A1>=3;A1<9;B1<=-2));"E";=袝小袥袠(袠袥袠(袠(A1<2;B1<=0;B1>-2);袠(A1<3;B1<=-2));"F";0))))))

袝褋谢懈? - pavel械褋谢懈and a bunch of袠袥袠(袠())- slippyk