I would like to do something like this (Formula to find the header index of the first non blank cell of a range in Excel?) except that I want to capture all the nonblank cells.
An application of what I am expecting would produce column "prod"
2 3 5 7 11 13 | prod | 2 1 2^1 3 1 3^1 4 2 2^2 5 1 5^1 6 1 1 2^1 3^1 7 1 7^1 8 3 2^3 9 2 3^2 10 1 1 2^1 5^1 11 1 11^1 12 2 1 2^2 3^1 13 1 13^1 14 1 1 2^1 7^1 15 1 1 3^1 5^1 16 4 2^4
I wouldn't mind a result with multiple separators ie. 6= 2^1*3^1**** , as they could be removed.