andrew baines bernard (born walter baines bernard jr.; 1973) is a fictional character from the nbc comedy television series "the office", played by ed helms. he is first shown as the regional director in charge of sales at the stamford branch of dunder mifflin. he becomes regional manager at the scranton branch in the eighth-season. throughout the show, he is constantly fired and rehired until the near end of the show where he is fired to become a professional singer.