Then I add values on the same column, row 1 and row 2 and put the result on row 0. I want it to be automatically done as values change on different rows/columns.
I used the attached and was only able to get part of the expected outcome.
I attached the code that I am currently using and the desired outcome on the excel spreadsheet.
Assistance will be greatly appreciated.