Does home sale exclusion still qualify for deductions?

I sold my home & purchased a new home in 2016, & am under the exclusion amount of $500k, so I understand I don't need to report this to the IRS, but does that mean I am not able to write off any deductions from selling the home since I am under the exclusion?