El Presente Perfecto de Subjuntivo

In the paragraph El uso del Presente de Subjuntivo you have learned when to use the subjunctive. In all the examples the main verb was in present tense and all the verbs in the subordinate clauses were in present subjunctive:

Dudo que venga Juan. (I doubt that Juan will come.)
In this paragraph you will learn when to use the present perfect subjunctive instead of the present subjunctive. (For a complete description of when to use the present subjunctive, the past subjunctive , the present perfect subjunctive and the pluperfect subjunctive look under Sucesión de Tiempos .

In order to make this decision you have to answer two questions:

  1. What is the tense of the main verb (the verb in the main clause)? 
  2. When did the action of the subordinate clause occur in relation to the time frame of the main clause?
You have to use the present perfect subjunctive in the following cases:
  • when the verb in the main clause is in present and the concluded action of the subordinate verb is in the past:
Dudo que Juan haya llegado . (I doubt that Juan has arrived.
  • in wishes for the present and the past introduced by "Ojalá" :
Ojalá que haya llegado Juan. (I wish Juan has arrived.)