The apparent size of the Andromeda galaxy (M31) is 3.167 square degrees [1], and the angular diameter of Moon ranges from 29.3 to 34.1 arcminutes [2]. Using area = πr², the apparent size of Moon ranges from 0.1873 to 0.2537 square degrees. Hence M31 should appear to be roughly 12.5 to 16.9 times the size of Moon.
I should have mentioned that area = π r² is only an approximation for the moon’s apparent size in square degrees. What we really want to calculate is the surface area of the spherical cap (on a unit sphere) with the same angular diameter as the moon. A formula for that is 2π(1 – cos r) [1], where r again is the radius of the moon in degrees. In this case, the two formulas give the same result to four significant digits (e.g. [2]).
[1] https://en.wikipedia.org/wiki/Andromeda_Galaxy
[2] https://en.wikipedia.org/wiki/Moon