Hi,
I have a SUMIF formula in a worksheet1 that references a worksheet2. I then run a macro that moves and deletes all sorts of columns but eventually leaves it in exactly the same format it started in albeit with different data. However, the SUMIF formula in ws1 now has #REF errors where it is referencing columns that were 'deleted'. How on earth can I get round this. Don't want to have to redefine the formula every time as there are more than one and that seems very inefficient!
Cheers,
Ig
I have a SUMIF formula in a worksheet1 that references a worksheet2. I then run a macro that moves and deletes all sorts of columns but eventually leaves it in exactly the same format it started in albeit with different data. However, the SUMIF formula in ws1 now has #REF errors where it is referencing columns that were 'deleted'. How on earth can I get round this. Don't want to have to redefine the formula every time as there are more than one and that seems very inefficient!
Cheers,
Ig