You need to explain your problem in some more detail.
If A1:A8 and B2:H21 have numbers, how can "if B2=1 then A3=2 / if F2=2 then B3=6 / if G2=3 then C3=7" be possible?
What role does A1:A8 play that is *different* than the contents of B2:H21?
How do you know to relate B2 and A3? F2 and B3? G2 and C3? What is the mapping strategy? How is B2=1 related to A3=2? And all the other transformation?