Unfortunately the screenshot you have shared does not provide enough information for me to make any real suggestions to solve your problem - can you create a dummy data sheet that you share with us so that we can get a better idea of what you want to achieve?
From what you have provided, it sounds like you can probably achieve this using the native GoogleSheets formulas, without having to resort to scripting, but without more info, that’s tricky to suggest anything either.
------ Original Message ------
Date 1/27/2023 1:56:17 PM
Subject [Apps-Script] App script to transform columns of months