So i think that i find the problema.
The second code is shifting the data to the right and every time it does that all my formulas are shifting too, just like the offsets that i have in the Names (define names).
Is there anything that could be done in the code to avoid the changes in the formulas and names?

Thanks in advance.