If/Else Statement in the Code Block
A B C
1 24 21  
2 if A1>B1  
3   >A8=A1  
4   >B8="A1"  
5 else    
6   >A8=B1  
7   >B8="B1"  
8      

Of A8 and B8, the resulting cell values are as follows: