The concentration of a targeted molecule (such as glucose) in a liquid medium having at least one interfering molecule coexisting with the targeted molecule is detected by use of NDIR and a sampling technique in which an imposed location of a pulse beam from a signal source, an interference source and a reference source is varied over a plurality of sites of a sampling area.