We consider the issue of representing coalitional games in multi-agent systems that exhibit externalities from coalition formation, i.e., systems in which the gain from forming a coalition may be affected by the formation of other co-existing coalitions. Although externalities play a key role in many real-life situations, very little attention has been given to this issue in the multi-agent system literature, especially with regard to the computational aspects involved. To this end, we propose a new representation which, in the spirit of Ieong and Shoham , is based on Boolean expressions. The idea behind our representation is to construct much richer expressions that allow for capturing externalities induced upon coalitions. We show that the new representation is fully expressive, at least as concise as the conventional partition function game representation and, for many games, exponentially more concise. We evaluate the efficiency of our new representation by considering the problem of computing the Extended and Generalized Shapley value, a powerful extension of the conventional Shapley value to games with externalities. We show that by using our new representation, the Extended and Generalized Shapley value, which has not been studied in the computer science literature to date, can be computed in time linear in the size of the input.