Colectomy is a surgical procedure in which a part or all of the colon is removed. It is used to treat a variety of diseases including colon cancer, diverticulitis, inflammatory bowel disease (including ulcerative colitis or Crohn's disease) and infarcted bowel.