Fact1: nice guy 's bound to lose girl to leading man in romantic comedies, Fact2: Cecil offers him ray of hope, Fact3: Elliot offers to put her up for night, Fact4: Caroline shows up early with wedding planner to finalize next morning plans, Fact5: Dan recognizes him as Cecil 's Baxter friend
Output: Elliot Michael Showalter, a tax accountant from Brooklyn, is a dependable though thoroughly average young man doomed to be the Baxter, the nice guy whos bound to lose the girl to the leading man in romantic comedies. Losing three girlfriends to lastminute rekindled relationships with their exboyfriends has made Elliot wary of being abandoned yet again. About a week before his wedding to his girlfriend, Caroline Swann Elizabeth Banks, Elliot discovers that her high school beau, Bradley Justin Theroux, is back in town. Elliot tries to keep himself composed, but even Carolines reassurances dont convince him that her feelings for Bradley are buried. In the meantime, Elliot meets Cecil Michelle Williams, his temporary secretary at his accounting firm. As he resigns himself to losing Caroline to Bradley, Cecil offers him a ray of hope: she does not believe in Baxters and thinks that his predicament is avoidable. The two meet up again later that night at a small club where Cecil performs her original songs, and Cecil tells Elliot he needs to take more risks. When Cecil has a fight with her unsupportive boyfriend Dan Paul Rudd, Elliot offers to put her up for the night. The next morning, Caroline shows up early with their wedding planner Peter Dinklage to finalize their plans. Elliot panics due to Cecils hidden presence and during the meeting makes a string of awkward suggestions, upsetting Caroline, who begins to doubt his commitment to their relationship, to the point of calling off the wedding. While out to a bar with his friends from work, Elliot accidentally runs into Dan, who recognizes him as Cecils Baxter friend. Dan is there to meet with Sonya, whos Bradleys current girlfriend and Dans old college friend. They all decide to sit together, much to Elliots chagrin. Both Dan and Bradley laugh and joke with Elliots friends, until one of them mentions that Caroline left him. Depressed and upset, Elliot leaves and contemplates suicide but hes interrupted by Carolines brotherinlaw, Louis David Wain, who tells him Caroline is willing to give their engagement another chance. Elliot plans a romantic dinner with Caroline, but finds her with an anguished Bradley, who just broke up with Sonya and is back flirting with Caroline. Caroline convinces Elliot to take Bradley out with them. They cancel Elliots reservations to an expensive restaurant and go instead to a burger place that Bradley knows well. Elliot feels outofplace and eventually calls Cecil from the back of the restaurant, confessing that he feels that his marriage will be over before it begins. The next day, Elliot arrives at work to find that Cecil is his temp again. When she proposes to go have a drink together, Elliot explains that after his phone call, the night actually got better for him. As Caroline accused Elliot of being unromantic, he stood up for himself and accepted to go dance with her and Bradley, actually impressing Caroline with his moves. Bradley shows off his breakdance routines, accidentally hitting Elliot in the face, to Carolines concerns. Bradley apologizes and reveals that he will leave the next morning to Malta for his work as a geode student. Though happy for him, Cecil is saddened by the news because of her growing feelings for Elliot. She mentions that Dan is moving to Cincinnati and shes going to follow him there, to Elliots discomfort. At Caroline and Elliots wedding, Bradley crashes the ceremony and declares his love for Caroline, a split second after Elliot was going to voice his own objection. Caroline finally gives in and kisses Bradley passionately in front of the whole church. Elliot takes off immediately to catch Cecil before she leaves town, and finds her at her apartment right while Dan is leaving. Elliot declares his love for her, and chases off an old friend of hers Ken Marino who suddenly showed up. Later, they perform together at the same club where they had their first date, with Cecil singing one of her songs and Elliot playing the piano to back her up. In a midcredits scene, Dan reflects in narration on his own status as a Baxter, having just lost the girl to the leading man.