A carton for containing a plurality of articles. The carton comprises panels that extend at least partially around an interior of the carton. The panels comprise a top panel, a bottom panel, a first side panel, and a second side panel. At least one divider panel is in the interior of the carton. The divider panel is attached to at least one of the panels. A dispenser is for allowing access to the articles in the carton. The dispenser is for separating the carton into a first portion and a second portion. At least one of the first portion and the second portion is at least partially closed by the at least one divider panel.