A sample processing apparatus comprising: a transporting unit for transporting a sample container that contains a sample; a measurement unit for measuring the sample contained in the sample container transported by the transporting unit ; 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 ; a plurality of container collection units for collecting respective sample containers transported by the transporting unit ; wherein the sample processing apparatus further comprises: a collection controller for controlling, according to the analysis result obtained by the analysis result obtaining unit , at least one of the transporting unit and the plurality of container collection units such that the sample container transported by the transporting unit is collected in one of the plurality of container collection units , 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 controls at least one of the transporting unit and the plurality of container collection units 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 , 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 , characterized in that : when re-measuring the sample is necessary and the re-measuring is performable by the measurement unit , the collection controller controls the transporting unit 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 , the collection controller controls at least one of the transporting unit and the plurality of container collection units such that the sample container is collected in the one of the plurality of container collection units . a transporting unit for transporting a sample container that contains a sample; a measurement unit for measuring the sample contained in the sample container transported by the transporting unit ; 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 ; a plurality of container collection units for collecting respective sample containers transported by the transporting unit ; wherein the sample processing apparatus further comprises: a collection controller for controlling, according to the analysis result obtained by the analysis result obtaining unit , at least one of the transporting unit and the plurality of container collection units such that the sample container transported by the transporting unit is collected in one of the plurality of container collection units , 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 controls at least one of the transporting unit and the plurality of container collection units 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 , 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 , <EOS>