Looking for formula (non-array preferred) to look into column B2:B13, starting with B2=34. The formula will place B2=34 into E2 and then count B2=34 down until it gets to 1 (that is 34, 33, 32.......1). A second formula will extract Code values in column C into column F. The next row below 1 (E36) will be the new starting row for B3, which is 35. The formula will repeat this iteration until it gets to B13.
Note: the values in B2:B13 are manually entered and could change. Meaning I could decide to change B2=34 to B2=37.
Desired outcome in column E2:E402 and F2:402.
See sample file. Thanks
Bookmarks