I have a column populated with either "Very Small", "Small", or "Large". However, sometimes the system that creates this file adds extra characters in surprising locations. I'm wondering if there is a way to enter MAX and LEN with a conditional statement as an array formula (CTRL+SHIFT+ENTER (CSE)) so that it will give me the maximum character count only for cells beginning with "Very", for instance.
As an example, for a column in which I can expect a consistent LEN, I can enter
{=MAX(LEN(A1:A1000))}
using CSE to know if there are any outliers greater than that given LEN that I need to address. The question is whether or not there's a way to do this, but conditionally based on the cell contents within that range.
I'm using Excel on Office365.