Ryan Bailey Howard (born May 5, 1979) is a fictional character on the US television series The Office. He is played by the show's writer, director, and executive producer B. J. Novak. He is based on Ricky Howard from the original British version of The Office.[1] In season 7, he marries Kelly Kapoor played by Mindy Kaling.