\(\begin{array}{c|c} & \text{Dept A} & \text{Dept B} \\ \hline & N & \\ \hline \text{Sales}…