Sale of main home and received a 1099-S

I meet all the requirements to get the $500,000 exclusion from taxes for the sale of main house.   The house sold for more than $500,000 but we lived in the house for over 40 years had after adjusting the cost basis for home improvements, etc., the gain on the house is under $500.000.    Do I need to report the sale on my taxes since I got a 1099-S or is it not reportable since there is no taxable amount?