I need to code a script to transform a column to a range as shown in the attached picture. The length of the data set and the number of data sets varies as well as the number of