An example is if diverticulitis affects the ascending colon. In this case, part or all of it is removed and reattached to the transverse colon or small intestine.