<Li> Lucy Hale as Katie Scherbatsky </Li> <Li> Ryan Pinkston as Kyle </Li> <Table> <Tr> <Th> No . overall </Th> <Th> No. in season </Th> <Th> Title </Th> <Th> Directed by </Th> <Th> Written by </Th> <Th> Original air date </Th> <Th> Prod . code </Th> <Th> US viewers (millions) </Th> </Tr> <Tr> <Th> 23 </Th> <Td> </Td> <Td> "Where Were We?" </Td> <Td> Pamela Fryman </Td> <Td> Carter Bays & Craig Thomas </Td> <Td> September 18, 2006 (2006 - 09 - 18) </Td> <Td> 2ALH01 </Td> <Td> 10.48 </Td> </Tr> <Tr> <Td_colspan="8"> The gang tries to help Marshall get over Lily . Barney takes him to a strip club, and Ted takes him to a Yankees game . Marshall finds a credit card trail that leads to Lily's hotel in the city, but the guys try to keep him from going to see her . </Td> </Tr> <Tr> <Th> 24 </Th> <Td> </Td> <Td> "The Scorpion and the Toad" </Td> <Td> Rob Greenberg </Td> <Td> Chris Harris </Td> <Td> September 25, 2006 (2006 - 09 - 25) </Td> <Td> 2ALH02 </Td> <Td> 9.14 </Td> </Tr> <Tr> <Td_colspan="8"> Barney teaches Marshall how to pick up women . When things start to go sour for an awkward Marshall, Barney steps in and wins the women over...for himself . Lily returns from her art experience . While helping her look for a new apartment, Ted gets sick of hearing about Lily's amazing summer in San Francisco . </Td> </Tr> <Tr> <Th> 25 </Th> <Td> </Td> <Td> "Brunch" </Td> <Td> Pamela Fryman </Td> <Td> Stephen Lloyd </Td> <Td> October 2, 2006 (2006 - 10 - 02) </Td> <Td> 2ALH03 </Td> <Td> 9.32 </Td> </Tr> <Tr> <Td_colspan="8"> When Ted, Robin, and the gang spend the weekend with his parents, Ted is stunned when a family secret that changes things forever is unveiled at brunch . Meanwhile, Marshall and Lily find it difficult to control themselves when they are forced to spend time together with Ted's parents . </Td> </Tr> <Tr> <Th> 26 </Th> <Td> </Td> <Td> "Ted Mosby, Architect" </Td> <Td> Pamela Fryman </Td> <Td> Kristin Newman </Td> <Td> October 9, 2006 (2006 - 10 - 09) </Td> <Td> 2ALH04 </Td> <Td> 9.09 </Td> </Tr> <Tr> <Td_colspan="8"> After Robin insinuates that Ted's job is boring, Barney sets out to convince his buddy otherwise . As the guys test out the pick - up line, "Ted Mosby, Architect" on the ladies, they realize it really works . But when Robin hears that Ted is parading around town picking up girls, she is hot on his heels to discover the truth . </Td> </Tr> <Tr> <Th> 27 </Th> <Td> 5 </Td> <Td> "World's Greatest Couple" </Td> <Td> Pamela Fryman </Td> <Td> Brenda Hsueh </Td> <Td> October 16, 2006 (2006 - 10 - 16) </Td> <Td> 2ALH06 </Td> <Td> 9.05 </Td> </Tr> <Tr> <Td_colspan="8"> Lily moves into Barney's apartment . It works well at first, as Lily gets rid of Barney's conquests by pretending to be his wife . Barney throws her out when he's disappointed to find that they slept in his bed together without having sex . </Td> </Tr> <Tr> <Th> 28 </Th> <Td> 6 </Td> <Td> "Aldrin Justice" </Td> <Td> Pamela Fryman </Td> <Td> Jamie Rhonheimer </Td> <Td> October 23, 2006 (2006 - 10 - 23) </Td> <Td> 2ALH05 </Td> <Td> 9.59 </Td> </Tr> <Tr> <Td_colspan="8"> Barney takes it on himself to please Marshall's disgruntled law professor, while Lily gets a job at Ted's architecture firm and tries to teach his boss a big lesson . </Td> </Tr> <Tr> <Th> 29 </Th> <Td> 7 </Td> <Td> "Swarley" </Td> <Td> Pamela Fryman </Td> <Td> Greg Malins </Td> <Td> November 6, 2006 (2006 - 11 - 06) </Td> <Td> 2ALH07 </Td> <Td> 8.22 </Td> </Tr> <Tr> <Td_colspan="8"> Barney is mistakenly called Swarley at a coffee shop and his friends call him Swarley all day . Marshall starts dating a woman and they really hit it off, but Barney and Ted tell him he has to dump her because she has "crazy eyes". </Td> </Tr> <Tr> <Th> 30 </Th> <Td> 8 </Td> <Td> "Atlantic City" </Td> <Td> Pamela Fryman </Td> <Td> Maria Ferrari </Td> <Td> November 13, 2006 (2006 - 11 - 13) </Td> <Td> 2ALH08 </Td> <Td> 9.33 </Td> </Tr> <Tr> <Td_colspan="8"> Marshall and Lily, together again, decide to elope to Atlantic City, and they gather Barney, Ted and Robin to take part in the wedding . </Td> </Tr> <Tr> <Th> 31 </Th> <Td> 9 </Td> <Td> "Slap Bet" </Td> <Td> Pamela Fryman </Td> <Td> Kourtney Kang </Td> <Td> November 20, 2006 (2006 - 11 - 20) </Td> <Td> 2ALH09 </Td> <Td> 8.85 </Td> </Tr> <Tr> <Td_colspan="8"> Barney uncovers Robin's secret past and the real reason behind her strong aversion to malls, which leads Barney and Marshall to make a bet . </Td> </Tr> <Tr> <Th> 32 </Th> <Td> 10 </Td> <Td> "Single Stamina" </Td> <Td> Pamela Fryman </Td> <Td> Kristin Newman </Td> <Td> November 27, 2006 (2006 - 11 - 27) </Td> <Td> 2ALH10 </Td> <Td> 9.85 </Td> </Tr> <Tr> <Td_colspan="8"> Barney's brother James (Wayne Brady) visits and Robin, the only one in the group who's never met him, is surprised . But James has a surprise for Barney that he finds hard to accept . </Td> </Tr> <Tr> <Th> 33 </Th> <Td> 11 </Td> <Td> "How Lily Stole Christmas" </Td> <Td> Pamela Fryman </Td> <Td> Brenda Hsueh </Td> <Td> December 11, 2006 (2006 - 12 - 11) </Td> <Td> 2ALH12 </Td> <Td> 8.81 </Td> </Tr> <Tr> <Td_colspan="8"> Ted almost ruins Christmas for everyone when, still carrying around anger toward Lily over breaking the engagement, he calls her a horribly disgusting name . </Td> </Tr> <Tr> <Th> 34 </Th> <Td> 12 </Td> <Td> "First Time in New York" </Td> <Td> Pamela Fryman </Td> <Td> Gloria Calderon Kellett </Td> <Td> January 8, 2007 (2007 - 01 - 08) </Td> <Td> 2ALH11 </Td> <Td> 8.37 </Td> </Tr> <Tr> <Td_colspan="8"> Robin wants to tell Ted she loves him, but she can't make the leap . Meanwhile, her sister visits and brings her boyfriend, and Robin doesn't react well when her sister says she's ready to lose her virginity . </Td> </Tr> <Tr> <Th> 35 </Th> <Td> 13 </Td> <Td> "Columns" </Td> <Td> Rob Greenberg </Td> <Td> Matt Kuhn </Td> <Td> January 22, 2007 (2007 - 01 - 22) </Td> <Td> 2ALH14 </Td> <Td> 9.42 </Td> </Tr> <Tr> <Td_colspan="8"> When Ted is constantly insulted by his former boss, who is now working for him on a project, he is told to fire the man, but he finds that a hard thing to do . Meanwhile, Barney offers Lily a lot of money to paint a nude portrait of him . </Td> </Tr> <Tr> <Th> 36 </Th> <Td> 14 </Td> <Td> "Monday Night Football" </Td> <Td> Rob Greenberg </Td> <Td> Carter Bays & Craig Thomas </Td> <Td> February 5, 2007 (2007 - 02 - 05) </Td> <Td> 2ALH13 </Td> <Td> 10.61 </Td> </Tr> <Tr> <Td_colspan="8"> The group plans to watch the Super Bowl XLI when they are invited to a funeral on the same evening . They make plans to record the game and to not find out the score before watching it the following day . </Td> </Tr> <Tr> <Th> 37 </Th> <Td> 15 </Td> <Td> "Lucky Penny" </Td> <Td> Pamela Fryman </Td> <Td> Jamie Rhonheimer </Td> <Td> February 12, 2007 (2007 - 02 - 12) </Td> <Td> 2ALH15 </Td> <Td> 9.68 </Td> </Tr> <Tr> <Td_colspan="8"> Ted finds a "lucky" penny, and even though bad luck starts to follow him, it may be the best thing to ever happen to him . </Td> </Tr> <Tr> <Th> 38 </Th> <Td> 16 </Td> <Td> "Stuff" </Td> <Td> Pamela Fryman </Td> <Td> Kourtney Kang </Td> <Td> February 19, 2007 (2007 - 02 - 19) </Td> <Td> 2ALH16 </Td> <Td> 8.95 </Td> </Tr> <Tr> <Td_colspan="8"> After Robin gives Ted grief over keeping all of his gifts from ex-girlfriends, Ted decides it's time to give them all away . However, the tides change when he finds that Robin has been holding on to items as well . Lily tells the whole group to come to her play . After Barney tells her it sucked, she tells him she would compliment a play he performed in regardless of how bad it was - Barney decides to prove her wrong . </Td> </Tr> <Tr> <Th> 39 </Th> <Td> 17 </Td> <Td> "Arrivederci, Fiero" </Td> <Td> Pamela Fryman </Td> <Td> Chris Harris </Td> <Td> February 26, 2007 (2007 - 02 - 26) </Td> <Td> 2ALH17 </Td> <Td> 9.33 </Td> </Tr> <Tr> <Td_colspan="8"> Marshall's beloved 1988 Fiero dies just short of reaching the 200,000 - mile mark, leading the gang to relive their greatest memories in the car . </Td> </Tr> <Tr> <Th> 40 </Th> <Td> 18 </Td> <Td> "Moving Day" </Td> <Td> Pamela Fryman </Td> <Td> Maria Ferrari </Td> <Td> March 19, 2007 (2007 - 03 - 19) </Td> <Td> 2ALH18 </Td> <Td> 7.27 </Td> </Tr> <Tr> <Td_colspan="8"> As Ted and Robin hit a new milestone in their relationship, Barney does everything he can to derail their happiness . To do so, Barney steals the rental truck Ted is using for moving day, including all the belongings inside of it . </Td> </Tr> <Tr> <Th> 41 </Th> <Td> 19 </Td> <Td> "Bachelor Party" </Td> <Td> Pamela Fryman </Td> <Td> Carter Bays & Craig Thomas </Td> <Td> April 9, 2007 (2007 - 04 - 09) </Td> <Td> 2ALH19 </Td> <Td> 9.90 </Td> </Tr> <Tr> <Td_colspan="8"> When Barney ruins Marshall's bachelor party plans, Lily reveals information about Barney that forces Marshall to rethink his best man choice . </Td> </Tr> <Tr> <Th> 42 </Th> <Td> 20 </Td> <Td> "Showdown" </Td> <Td> Pamela Fryman </Td> <Td> Gloria Calderon Kellett </Td> <Td> April 30, 2007 (2007 - 04 - 30) </Td> <Td> 2ALH20 </Td> <Td> 7.24 </Td> </Tr> <Tr> <Td_colspan="8"> Barney is chosen as a contestant on The Price Is Right giving him the opportunity to fulfill one of his life wishes: to meet Bob Barker, who he delusionally believes to be his father . </Td> </Tr> <Tr> <Th> 43 </Th> <Td> 21 </Td> <Td> "Something Borrowed" </Td> <Td> Pamela Fryman </Td> <Td> Greg Malins </Td> <Td> May 7, 2007 (2007 - 05 - 07) </Td> <Td> 2ALH21 </Td> <Td> 7.69 </Td> </Tr> <Tr> <Td_colspan="8"> Lily and Marshall's wedding day arrives, but nothing goes as they had planned . Surprisingly, Barney steps in to save their once - in - a-lifetime moment . Meanwhile, Barney abuses the' it's for the bride' superpower . </Td> </Tr> <Tr> <Th> 44 </Th> <Td> 22 </Td> <Td> "Something Blue" </Td> <Td> Pamela Fryman </Td> <Td> Carter Bays & Craig Thomas </Td> <Td> May 14, 2007 (2007 - 05 - 14) </Td> <Td> 2ALH22 </Td> <Td> 9.90 </Td> </Tr> <Tr> <Td_colspan="8"> Barney overhears that Ted and Robin have a secret, leading him to wonder what it might be . When the secret is revealed, the truth stuns even Barney . </Td> </Tr> </Table> <Tr> <Th> No . overall </Th> <Th> No. in season </Th> <Th> Title </Th> <Th> Directed by </Th> <Th> Written by </Th> <Th> Original air date </Th> <Th> Prod . code </Th> <Th> US viewers (millions) </Th> </Tr>

When do marshall and lily get back together