I am trying to calculate a median based on several criteria. The formula works fine when the criteria are all met, but when they are not I get #NUM !. I would rather it returned a blank or a 0.
Here's the formula I'm using:
{=MEDIAN(IF(Results[Rider]=[@Rider],IF(Results[Event_Type]="CDM",Results[Rank],"")))}
In some cases there is no "CDM" result and that's where I get the error. It doesn't seem to make a difference whether I include ,"" for a false.
Any help, greatly appreciated.
Here's the formula I'm using:
{=MEDIAN(IF(Results[Rider]=[@Rider],IF(Results[Event_Type]="CDM",Results[Rank],"")))}
In some cases there is no "CDM" result and that's where I get the error. It doesn't seem to make a difference whether I include ,"" for a false.
Any help, greatly appreciated.