1

I have some data spread through different cells. Some cells have comma separated values. I have included an example that can be seen in the link.

I need to match the data with cell number and show them in the results section as in the example sheet.

How can I achieve this outcome?

Sunderam Dubey
  • 1
  • 11
  • 20
  • 40
J.J
  • 63
  • 5

1 Answers1

1

Try:

=ARRAYFORMULA(SPLIT(FLATTEN(QUERY(TRANSPOSE(REPT(
 IF(A2:O3="",,A1:O1&"×"), LEN(IFERROR(
 REGEXREPLACE(A2:O3, "[0-9]+", )))+1)),,9^9)), "×"))

enter image description here

Sunderam Dubey
  • 1
  • 11
  • 20
  • 40
player0
  • 124,011
  • 12
  • 67
  • 124