This assumes that the greatest column B value will be 6 and that there are only 25 rows of data in columns A and B. Formulas will need to be changed to accommodate more rows and when maximum column B value is greater than 6.
This formula in D1 has been filled down to row 25 and across to column I (col D to col I = 6 cols)
It generates the necessary incremented values across each of the 25 rows.
This array formula (must be entered using the Ctrl+Shift+Enter PC key combination) in C1 has been filled down column C until it starts returning blanks
It extracts the incremented values in $D$1:$I$25 and displays them in the correct order down column C.
See attachment.
Bookmarks