This is because the MIN, MAX, and PERCENTILE functions do not perform calculations when there are errors in the calculation range. For the same reason, the LARGE, SMALL, and STDEVP functions also affect the corresponding functionality of some conditional formatting rules.
By using the AGGREGATE function, these errors are ignored, allowing these functions to be implemented. Additionally, the AGGREGATE function applies different aggregate functions to lists or databases, and provides options to ignore hidden rows and erroneous values.