I need help with writing code in VBA.
I want to do a calculation for multiple years where te end value of year 2021 is the start value of year 2022.
Also I want to save the sum of one specific column for all the years and for example 5% of this sum of this column in 2021 will be used to increase the starting value in 2022.
I already tried some VBA code and made a similar, but simple version of my problem. (see attachment).
Thank you in advance!