вам пришлось

you had to

→ вы
phrase Rare #37,978
you had to Used with a verb in the infinitive to say that someone had to do something. «Вам» is the formal or plural form of “you.”
RU: Вам пришлось рано встать.
EN: You had to get up early.

Извините за то, что вам пришлось нести мои вещи.

I'm sorry you had to carry my things.

— Вожделение (2007)

Вам пришлось занять денег?

Did you have to borrow money?

Вам пришлось долго бежать!

You had to run for a long time!

— Навсикая из Долины Ветров (1984)