I don't quite understand your qualifications here, but there is a correct sentence: If we had had the exam last week, we would have been partying now.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.