MINNEAPOLIS (WCCO) — What do President Obama, Bill Gates and Brad Pitt have in common? They all met their significant others at work.

A new survey by CareerBuilder says that more than one-third of workers have had an office romance, and 37 percent of those relationships ended up in marriage.

READ MORE: Brooklyn Center Police Investigate Suspicious Death

However, 5 percent say they left a job because their office romance went wrong.

READ MORE: Family, Friends Search For Keegan Oyugi, 26, Last Seen Near Prior Lake

Some say that romance in the workplace also opens the door to a number of pitfalls, especially relationships involving managers and bosses. A few years ago, then-Best Buy CEO Brian Dunn stepped down amid investigation that he was having a relationship with a female employee and did not alert the audit committee.

MORE NEWS: High E. Coli Levels Close Lake Hiawatha, Bde Maka Ska Thomas Beaches

CareerBuilder says one-quarter of office romances involve a superior.