попробуйте:
=ARRAYFORMULA(QUERY(FLATTEN(IFNA(SPLIT(REPT(IF(A2:A="",,A2:A&"♀"),
REGEXEXTRACT(A2:A, "\d+")-1), "♀"))), "where Col1 is not null", 0))
update:
=ARRAYFORMULA(QUERY(FLATTEN(IFNA(SPLIT(REPT(IF(A2:A="",,A2:A&"♀"),
VLOOKUP(REGEXEXTRACT(A2:A, "\d+")*1,
{5, 6; 6, 6; 7, 6; 8, 6; 9, 8; 10, 9; 11, 9}, 2, 0)), "♀"))),
"where Col1 is not NULL", 0))
0