Yo habría viajado a España si hubiera tenido dinero.
English: I would have traveled to Spain if I had had money.
The 'condicional perfecto' in Spanish is a verb tense used to talk about actions that would have happened in the past, but did not occur.
Use the 'condicional perfecto' in Spanish to express hypothetical situations in the past, regrets, or actions that would have occurred if something else had happened.
Yo habría viajado a España si hubiera tenido dinero.
English: I would have traveled to Spain if I had had money.
Ellos habrían terminado el trabajo, pero no tuvieron tiempo.
English: They would have finished the work, but they did not have time.
¿Tú habrías comprado esa casa?
English: Would you have bought that house?
Nosotros habríamos ido a la fiesta si nos hubieras invitado.
English: We would have gone to the party if you had invited us.