Halachah · Shulchan Aruch

Shulchan Arukh, Orach Chayim 194/שולחן ערוך·אורח חיים קצ״ד

אשלש' שאכלו כאחד ונפרדו לענין הזימון מה דינם. ובו ג סעיפים:
שלשה שאכלו כאחד ושכחו ובירך כל אחד לעצמו בטל מהם הזימון ואין יכולים לחזור ולזמן למפרע וכן אם ברכו שני' מהם אבל אם שכח אחד מהם ובירך השנים יכולים לזמן עם השלישי אע"פ שכבר בירך יכול לומר ברוך שאכלנו משלו והם יוצאי' ידי חובת זימון והוא אינו יוצא ידי זימון שאין זימון למפרע: הגה ואם האחד זימן עם אחרים אף שנים הנשארים אינן יכולים לזמן (ב"י בשם רשב"א):
1Three people that ate together, but forgot and benched by themselves, missed the mitzvah and they are not allowed to return and say the Zimun out of order. And also if two of them benched together but one forgot, the other two can have a Zimun with the third, even though he already benched, he is able to say "Baruch She'achalnu Mishelo," and they [the other two] fulfill their mitzvah of Zimun through this, but he [the third one] doesn't fulfill his Mitzvah, because he did it out of order. Rema: and if the third one did the Zimun with others, the first two cannot do the Zimun with him (Beit Yosef in the name of Rashba).
בשלשה שאכלו ויצא אחד מהם לשוק קוראי' אותו ומודיעים לו שרוצים לזמן כדי שיכוין ויצטרף עמהם ויענה עמהם ברכת זמון ויוצאי' ידי חובתן אף על פי שאינו בא ויושב עמהם והני מילי בשלשה אבל בעשרה כיון שצריכין להזכיר את השם אינם מצטרפים עד שיבא וישב עמהם [ועיין לקמן סי' ר' עד היכן ברכת הזימון]:
2If three people ate together and one of them went out to the market [outside], they call out to him and inform him that they want to make the Zimun [the quorum for Grace After Meals], so that he will focus his intention, join them, and answer the Zimun blessing with them. They fulfill their obligation even though he does not come and sit with them. This applies specifically to three [people]. However, with ten, since they need to mention the Divine Name, they do not join together [to form the quorum] unless he comes and sits with them. [See later in Siman 200 regarding how far the blessing of the Zimun extends.]
גשלשה שאכלו כאחד ואין א' מהם יודע כל ברכת המזון אלא אחד יודע ברכה ראשונה ואחד השנייה ואחד השלישית חייבים בזימון וכל אחד יברך הברכה שיודע ואף על פי שאין בהם מי שיודע ברכה רביעית אין בכך כלום אבל לחצאין אין לברך אם האחד אינו יודע כי אם חצי הברכ' שאין ברכ' אחת מתחלק' לשתי':
3If three people ate together as one, and not a single one of them knows the entirety of the Grace After Meals (Birkat HaMazon), but rather one knows the first blessing, one knows the second, and one knows the third—they are still obligated in the Zimun [the formal invitation]. Each one shall recite the blessing that he knows, and even if there is no one among them who knows the fourth blessing, it is of no consequence. However, they may not recite it by halves if one only knows half of a blessing, for a single blessing cannot be divided between two people.