I'm trying to edit this formula so it returns the second occurrence or match value in the data I'm indexing rather than the MAX value. Can someone please help me understand what exactly needs to be changed? I've tried LARGE and SMALL functions but they're not going to work it seems.
=MAXIFS(
INDEX('Analyze Run Data'!$A:$ZZ,,MATCH("VPRB"&$Z$2,'Analyze Run Data'!$1:$1,0)),
INDEX('Analyze Run Data'!$A:$ZZ,,MATCH("SEG",'Analyze Run Data'!$1:$1,0)),
$A4)