Sale of Duplex

I am in college and I just bought a duplex at the beginning of the year. I live in the top half and rent out the bottom half. I understand that for tax purposes you treat them as
two separate properties. When I graduate and move I will have owned the property for 18 months. I understand that I can avoid taxes on the sale of the half I live in because I am selling it because of a change in employment. What about the side I am renting out? Can I do a like kind exchange? Can I exchange it for a single family residence that I will be renting out, or do I need to buy another duplex? I don't want to buy a duplex that I will be living in.
<< ------------------------------------------------------- >> << The foregoing was not intended or written to be used, >> << nor can it used, for the purpose of avoiding penalties >> << that may be imposed upon the taxpayer. >> << >> << The Charter and the Guidelines for submitting posts >> << to this newsgroup as well as our anti-spamming policy >> << are at >> << Copyright (2006) - All rights reserved. >> << ------------------------------------------------------- >>
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a site by and for consumers of financial services and advice. We are not affiliated with any of the banks, financial services or software manufacturers discussed here. All logos and trade names are the property of their respective owners.

Tax and financial advice you come across on this site is freely given by your peers and professionals on their own time and out of the kindness of their hearts. We can guarantee neither accuracy of such advice nor its applicability for your situation. Simply put, you are fully responsible for the results of using information from this site in real life situations.