I was working on this exact table just as you posted it. Basically, the Mets' magic number vs the Diamondbacks is 2, and the Braves' magic number vs the Diamondbacks is 1. For the Mets and Diamondbacks win, Braves lose scenario, the Mets and Braves are both in if they split the DH. Otherwise, it's the Diamondbacks and whoever sweeps.