Jim Parsons played Sheldon on CBS' "The Big Bang Theory" instead. Chuck Lorre Productions

Before Neil Patrick Harris landed the role, Jim Parsons auditioned for Barney on the show. But there are no hard feelings from the "The Big Bang Theory" star.

"Look, it all worked out fine … Neil's better for the part, let's be honest," Parsons said on a 2015 episode of "Live With Kelly," according to Yahoo.