I'm trying to calculate the smallest margins of victory for a fantasy football league.
In a row I have the point difference between a player and their opponent. That number will be either positive (for a win) or negative (for a loss). I am trying to find the 4 smallest positive numbers out of that range (of 17 weeks) for each person.
I have a formula that returns the number, but if brings back a #NUM! error if there aren't at least 4 wins for that person. This creates a problem further down the sheet where I'm trying to calculate the 5 smallest overall margins for the entire league of 10 teams.
Here's the formula I have to return the 4th smallest positive number. The scores are in the range F202:V202. Is there a way of modifying it to give me a blank cell if there isn't a win?
=SMALL(IF($F$202:$V$202>0,$F$202:$V$202, ""),4)
Thanks for your help!
Damian
Bookmarks