No, but if Djokovic plays and wins MC, Barcelona, Rome, Belgrade, and Madrid according to my little spreadsheet he could still reach 9605 points which is more than the 9225 if Fed looses everything. Now it's highly unlikely he'll play all those tournaments, particularly Barcelona and Belgrade and it's even more unlikely he'll win everything but theoretically I believe Djokovic could still reach no.1 after Madrid.
According to the doc posted, Federer's minimum for 285 (after Madrid/until RG) is 9240. And for Djokovic, it is 9170 maximum. I think where you might have made a mistake is that since Djokovic has three 500 W's already, the maximum he can gain by another 500 win in Barcelona is 320 (replacing his 180 in Rotterdam).