Along with the good advice above on getting what may well be a better deal, also consider that if the part of the trip on the ground is the most important, then you and your friend could also fly separate routes and meet at an intermediate airport, or even at the destination.
One of the more memorable family trips I've had was one where we started from different locations and met inside the Munich airport on our way to a summer vacation.