I download data that has a different number of lines each download, but all are between 70,000 and 100,000 lines. I insert a column (C) then add (A)+(B) with the sum in the new column (C). My macro handles this well, but I then need to copy the new formula in (C) to the rest of the lines in column (C). Since each spreadsheet has a different number of lines, I can't figure out what to do in my macro stop copying the formula at the last line.