If from the evidence it appears that the land upon which the execution has been levied cannot be divided, the court shall, unless a sale has already been held, make an order directing the sale of the land under the execution; but at such sale no bid must be received unless it exceeds the amount of the homestead exemption. Where a sale has already been held, the proceeds of sale to an amount equaling the homestead exemption shall be set off to the judgment debtor as exempt, and the balance distributed as provided by order of the court.