Maybe you might be able to help with 2 more possible ammendments? Sorry I should have thought the query through before my original post...
(This may over-complicate the formula)
Please see attached
In column E, where the value for the section is IRISTD, I'd like the formula to ignore the value in column D. So the comparison should just be against the total of column M and the value in column C.
Secondly, I recorded a macro to insert a column, paste the formula, and then copy it down. Is there a way to stop the formula being copied once it reaches the last row? (row 12 in my example)
The code I'm using at the moment is
Thanks again
Bookmarks