For those who are interested, in case the objective is to find the largest value, after skipping the values for all the unwanted text (in this case, 'I'), then one can use this formula as well

=MAX(B1:B7*(A1:A7<>"I")) (As Array or in other words, CTRL+SHIFT+ENTER formula)