Yes. Some of the profit of the sale may be taxable. You can only 'exclude' the half (or whatever percentage) that was your home. If it was 50% rental, you may notice a little more than 50% of the profit is taxable. That's because you have to add the depreciation taken over these last 3-4 years.
Please feel free to post any additional details or questions in the comment section.