Here is a breakdown:
Ottelun
lopussa
koko
katsomo
juhli
voittoa
laulamalla
yhdessä
Finnish expresses “at the end of X” with a fixed pattern:
[GENITIVE] + loppu + inessive (-ssa)
X:n lopussa = “at the end of X”
So:
Together: ottelun lopussa = “at the end of the match”.
Why not ottelu lopussa?
So ottelun lopussa is the natural way to say “at the end of the match” as a time phrase.
Both are possible, but the nuance is slightly different:
ottelun lopussa
ottelun lopulla
In your sentence, since the crowd usually celebrates when the result is already known, ottelun lopussa (“at the end”) fits very well. Using ottelun lopulla would shift the meaning more toward “in the later stages of the match”.
A few points:
katsomo is singular
koko vs kaikki
Alternatives:
Your sentence chooses koko katsomo to treat the spectators as one unified group.
juhli comes from the verb juhlia (“to celebrate”).
Conjugation:
In your sentence:
So koko katsomo juhli = “the whole crowd celebrated”.
Note: The form juhli could, in other contexts, also be 1st person singular past (“I celebrated”), but here the subject koko katsomo clearly makes it 3rd person.
The verb juhlia (“to celebrate”) normally takes its object in the partitive case:
So voittoa is:
Could you ever say juhlia voiton?
laulamalla is a special infinitive form:
This form is called the third infinitive in the adessive and is commonly used to express “by doing X / by means of doing X”.
Examples:
So laulamalla very directly corresponds to English “by singing”.
Yes, laulaen exists and is grammatically correct, but the nuance and style differ:
laulamalla (3rd infinitive, adessive)
laulaen (the -en form, a kind of adverbial participle)
In Koko katsomo juhli voittoa laulaen yhdessä, the meaning would be close to “The whole crowd celebrated the victory, singing together.” It’s not wrong, but in everyday, neutral style, laulamalla yhdessä is more typical and clearly “by singing together”.
yhdessä explicitly expresses “together”:
Compare:
Finnish often uses yhdessä when you want to highlight the idea of togetherness; it is not automatically implied just because the subject is plural or a group.
You can, but it changes the feel of the sentence:
yhdessä = “together”, simply stating that the action is shared.
kanssa = “with” (postposition), combining with a genitive or the possessive form:
Possible phrase:
In practice:
Finnish word order is relatively flexible, though there are preferred patterns. Your sentence:
Ottelun lopussa koko katsomo juhli voittoa laulamalla yhdessä.
General tendencies:
Other correct variants (with slightly different emphasis) include:
All of these are grammatical, but the original order is very natural and neutral. Changes in order mainly affect which part is emphasized or treated as “old vs. new” information.
You would then need the plural form of the verb:
Original:
With fanit:
So:
The rest (voittoa laulamalla yhdessä) stays the same.