Forum Discussion

NotSoFastEddie's avatar
NotSoFastEddie
Brass Contributor
May 08, 2024

Take a series of rows and break each row into multiple rows

Once again, I look to the Excel Gurus to assist.  I have been stewing about this most of the day.  I have rows of data and I need to take each row and some of its cells and produce a single row for e...
  • djclements's avatar
    djclements
    May 09, 2024

    NotSoFastEddie Thank you for providing the desired results and additional explanation. Try the newly attached file... it's basically just a combination of the techniques used in the first two versions, with an additional XLOOKUP.

     

    The IF / SEQUENCE method is used to repeat data the required number of times, TOCOL sends each array to a single column, and HSTACK joins each of the columns together horizontally to generate a single output array. To get a better understanding of how these methods work, it's best to start by experimenting with basic examples. For more information, please see: https://techcommunity.microsoft.com/t5/excel/copy-array-n-times-with-excel-formula... 

     

    If further explanation is needed, please feel free to send me a private message (just click on my profile name or icon, then click the Message button). Cheers!