Form
if + Past Perfect, main clause with Conditional II
Example: If I had found her address, I would have sent her an invitation.
The main clause can also be at the beginning of the sentence. In this case, don't use a comma.
Example: I would have sent her an invitation if I had found her address.
Note: Main clause and / or if clause might be negative. See Past Perfect and Conditional II on how to form negative sentences.
Example: If I hadn’t studied, I wouldn’t have passed my exams.