Building a database of line scores from Retrosheet data (which is simple) but I also intend to include fields for net score after each inning (Hscore - Vscore). From that I want to look at when teams actually win or lose games. Poking around the web led to a MATCH-INDEX formula that works. Except...I realized that a team could hold the lead, lose it, and then regain it, so the net score could go like 0,+2,-1,+1,-2,+5...., and the formula would return +2 when the answer should be +5. Any ideas? I'm currently in a forest/trees state.