I have to update this code to do a substring or regex match but I don't even understand the code:
INDEX(
$DATA.B$2:B$1501;
SMALL(
IF(
$DATA.$A$2:$A$1501=$B$3;
ROW($DATA.$A$2:$A$1501)-ROW($DATA.$A$2)+1
);
ROWS($DATA.$A$1:$A1)
)
)
The bit that has me scratching my head the most is $DATA.$A$2:$A$1501=$B$3
what does it mean to test equality of a single cell with a cell range?
In addition, this code is comparing with a string in $B$3, how can I change this to a regex or substring match so that the test is true when $B$3 matches the start of the value in $DATA.$A$2:$A$1501
?