First a premise: the method used to calculate the coil capacity is the efficiency - NTU method, so the global exchange coefficient is calculated downstream of the efficiency.
In the case where LMTD is to be taken into account, the following formula can only be used if there is only sensible exchange.
In the case that one wants to take LMHD into account then one needs the following formula which takes into account the presence of latent.