If you sell the property deductionunder Section 54F/ECis on the gain allowed . But if you sell let the entire sale proceeds are invested in a new house or used to build a new house. If you use a part of the money, the deduction will be the proportion of the invested amount to the ...