It sounds like you want to look at the four cell block A11 , compare it with the four cell block E1:H1
And the swap (or not) those blocks of 4 cells depending on the value of the second cell.
Is that the goal?
Where do you want the resulting values?
Could you attach a workbook with some sample data and the desired result?