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: Mohamed Noor To Be Resentenced In Justine Ruszczyk Damond's Shooting Death

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

READ MORE: Isanti Co. Sheriff Offers Reward For Info In Garage Arson

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: Nurses Return To Work At Plymouth's WestHealth After 3-Day Strike

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