Mie theory is a rigorous solution to scattering problems in spherical coordinate system. The first step in applying Mie theory is expansion of some arbitrary incident field in terms of spherical harmonics fields in terms of spherical which in turn requires evaluation of certain definite integrals whose integrands are products of Bessel functions, associated Legendre functions and periodic functions. Here we present analytical results for two specific integrals that are encountered in expansion of arbitrary fields in terms of summation of spherical waves. The analytical results are in terms of finite summations which include Lommel functions. A concise analytical expression is also derived for the special case of Lommel functions that arise, rendering expensive numerical integration or other iterative techniques unnecessary.