Welcome to SE. Lets say you have field $\mathbf{E}^{(i)}\left(\mathbf{r}\right)$ from i-th slit on the screen at position $r$. The total field at that position, due to all slits, is then:
$$
\mathbf{E}^{(net)}\left(\mathbf{r}\right)=\sum_i \mathbf{E}^{(i)}\left(\mathbf{r}\right)
$$
Since fields (electric or magnetic) add up (follows from linearity of Maxwell's equations in free space). If the amount of power going through all the slits is finite, the sum above is absolutely convergent, so you can choose which order you sum your things in. For example:
$$
\mathbf{E}^{(net)}\left(\mathbf{r}\right)=\sum_{i=0}^N\mathbf{E}^{(i)}\left(\mathbf{r}\right)=\sum_{j=0}^{\lfloor N/2\rfloor} \left[\mathbf{E}^{(2j)}\left(\mathbf{r}\right)+\mathbf{E}^{(2j+1)}\left(\mathbf{r}\right)\right]+remainder
$$
If every bracket vanishes, then the sum overall vanishes. This way you get the destructive interference. Remainder term (unpaired slit) could create problems, but the power going through it will scale as $1/N$ (assuming uniform illumination), so it is unlikely to be significant.
For constructive interference you can get a slightly more nuanced picture, since it is not clear that peak in the individual pairs will lead to peak in the overall sum. I would probably aim for a more complete treatment there, including the finite size of the grating, and the size of the slits as well as spacing between them. The treatment becomes much cleaner in the angular spectrum.
At the same time, if the way you construct solution for the constructive interference is to require that fields from successive slits ($\mathbf{E}^{(i)}$ and $\mathbf{E}^{(i+1)}$) differ by the slit-to-screen path of one wavelength, then the field from the slit after the next one ($\mathbf{E}^{(i+2)}$) will differ by two wavelengths, within paraxial approximation (slit spacing is much smaller than screen to slit distance), and same will work for successive slits, so you will get constructive interference (approximatelly)