I am trying to loop through my pivot table to copy the sum values to another sheet. The issue I am facing is, the row variables are dynamic and change when there is a data change, so when there is no variable D or S my loop does not run.
Can anyone help me with how to make this work? The attachment shows what I am trying to implement.
Can anyone help me with how to make this work? The attachment shows what I am trying to implement.