Hi
If the ancestral property was a land, exemption shall be available under section 54F. If it was a house property and not just a land, exemption shall be available under section 54.
For capital gain calculation, FMV as on 1.4.01 shall be considered as cost of acquisition which shall be indexed. (Considering the property was purchased by your ancestors before 2001).