How do I write the formula for Median IF, while also ignoring errors?

Looking to find the median price of all the Red sweaters while also ignoring any errors.....