OK, I decided to have a bit of a play with this - to settle my own curiosity you could say
Anyway, I was right in saying you cant lookup to the left - but offset wasn't the answer - but found a similar solution.
More importantly, I was correct about the frenzied looping thing - the code will go on infinity, re calculating everything over & over again.
Luckily, I tinkered, and found the solution!
Ok, this bit is just a tidier way of doing the IF statements.
Here we have the 2 chucks of code / subs
As you see, the last one uses a formula to find the row you're looking for, and then find the correct match that way.
Most importantly, each sub checks to see if the cell you're working on matches the cell the code relates to, and only continues if this is correct - thus fixing our looping problem!
have fun!
Bookmarks