In the presence of outliers, it is recommended to use a modified version of the formula. Calculate the IQR using the 1.5 * IQR criterion. Any data points below (Q1 - 1.5 * IQR) or above (Q3 + 1.5 * IQR) are considered outliers.