A sample processing apparatus comprising: a transporting unit (3, 4) for transporting a sample container that contains a sample; a measurement unit (51, 52, 53) for measuring the sample contained in the sample container transported by the transporting unit (3, 4); an analysis result obtaining unit for obtaining an analysis result of the sample that is based on a result of the measurement performed by the measurement unit (51, 52, 53); a plurality of container collection units (23, 24, 25) for collecting respective sample containers transported by the transporting unit (3, 4); wherein the sample processing apparatus further comprises: a collection controller (23a, 24a, 25a) for controlling, according to the analysis result obtained by the analysis result obtaining unit, at least one of the transporting unit (3, 4) and the plurality of container collection units (23, 24, 25) such that the sample container transported by the transporting unit (3, 4) is collected in one of the plurality of container collection units (23, 24, 25), wherein: the analysis result includes a result of determination as to whether or not re-measuring the sample contained in the sample container is necessary, and wherein: the collection controller (23a, 24a, 25a) controls at least one of the transporting unit (3, 4) and the plurality of container collection units (23, 24, 25) such that when re-measuring the sample contained in the sample container is necessary, the sample container is collected in one of the plurality of container collection units (23, 24, 25), and when re-measuring the sample contained in the sample container is not necessary, the sample container is collected in one of the other of the plurality of container collection units (23, 24, 25), characterized in that: when re-measuring the sample is necessary and the re-measuring is performable by the measurement unit (51, 52, 53), the collection controller (23a, 24a, 25a) controls the transporting unit (3, 4) so as to transport the sample container to the measurement unit again, and when re-measuring the sample is necessary and the re-measuring is not performable by the measurement unit (51, 52, 53), the collection controller (23, 24, 25) controls at least one of the transporting unit and the plurality of container collection units (23, 24, 25) such that the sample container is collected in the one of the plurality of container collection units (23, 24, 25). a transporting unit (3, 4) for transporting a sample container that contains a sample; a measurement unit (51, 52, 53) for measuring the sample contained in the sample container transported by the transporting unit (3, 4); an analysis result obtaining unit for obtaining an analysis result of the sample that is based on a result of the measurement performed by the measurement unit (51, 52, 53); a plurality of container collection units (23, 24, 25) for collecting respective sample containers transported by the transporting unit (3, 4); wherein the sample processing apparatus further comprises: a collection controller (23a, 24a, 25a) for controlling, according to the analysis result obtained by the analysis result obtaining unit, at least one of the transporting unit (3, 4) and the plurality of container collection units (23, 24, 25) such that the sample container transported by the transporting unit (3, 4) is collected in one of the plurality of container collection units (23, 24, 25), wherein: the analysis result includes a result of determination as to whether or not re-measuring the sample contained in the sample container is necessary, and wherein: the collection controller (23a, 24a, 25a) controls at least one of the transporting unit (3, 4) and the plurality of container collection units (23, 24, 25) such that when re-measuring the sample contained in the sample container is necessary, the sample container is collected in one of the plurality of container collection units (23, 24, 25), and when re-measuring the sample contained in the sample container is not necessary, the sample container is collected in one of the other of the plurality of container collection units (23, 24, 25),