Sure, number of ways.
I am ignorant of cell formulas, by and large. Any answer I give is usually a VBA-oriented answer. Just so you know...
You could have a macro step though row (using .offset(1,0).select).
Test the current value against the previous value; if more than a difference of one, then pop up your msgbox, etc.