How to calculate the Gibbs energy for the vaporisation of solid ammonia?
Actually for this reaction $\Delta G=\Delta G^\circ+RT\ln Q$ holds only when $Q$ is used in terms of partial pressures. This is because the activity of an ideal gas is measured by its pressure, not its concentration. This equation can be derived from the definition of the Gibbs energy.