If you know how big the loop is you can just do a compare 2 values, and check if you are on the last iteration of the loop.
if loopindex=10 then whatever....
Also C2 reads things sequentially. If you stack one loop on top of another loop, it will execute the top loop before the bottom loop. So you really don't need to know when it is done, the next condition will not execute until it is done. Most of the time you can stack them together.
If you are using a function you can also use the return value thing to flag when things happen.