I had decent scores, grades, rank, EC. DECENT, not great. I interviewed around and most importantly, matched at an unbelievable place.
I think luck has a huge factor in it and how you carry yourself when meeting people. Not only on the interview when you 20 minutes to convey who you are, but how have you behaved over the past 3 years to your faculty mentors. I am 100% positive I got to where I am due to my mentors. I provided the leg work and put in the hours, and they put me in touch with the people I need to know.
Given the fact that my on-paper stuff is so average, I can only assume that part of my success in matching is due to the previously mentioned mentor help and how I represented myself on interviews. I would spend some serious time on some self improvement in regards to how you carry yourself because I'm pretty sure that was the only reason I got in where I did. Previously people have mentioned 'confident humility' as being important. Maybe I demonstrated that, maybe I didn't.
The ONLY people I heard that didn't matched had great stats but were damn annoying just to be around. When you're interviewing, you are happy and excited....so for me to be annoyed by said individual, they must have been bad!