Hello art, I am so sorry and embarrassed. Remember the selecting data you helped me with yesterday? While working on this table, I found a sentence in very small font, in a peculiar place, about the selecting data. What I described yesterday is to pick those years that executives change their firms. If they have multiple changes, then we pick all of them. Well, this new sentence told me that we should only pick up the last time the executive changes firms, which is to say, each executive would have only two different companies, being the last two companies he stayed. If he had previously stayed in other companies, we would delete the older items. I tried to go back and make revisions to your codes, but it's just too much for me... Can you think of a way of either revising the codes, or writing something new to delete those older company years? Wichever is convenient. In fact, with each executive only having two firms, I think I might be able to finish this table myself. Again, thank you so much!
... View more