Perhaps try, assuming data in columns A and B starting at row 1
C2=(A2&B2)*1
D3 =C3>C2
copy fomulas and paste down to the end of your data