So I think I managed to merge the two metric sheets with the following code
Where StoryLongA is the sheet with the absolute change metric and StoryLongR is the sheet with the relative change metric (other than that they have the same layout).
However, if i look at the absolute metric it suggests 23 stocks long and 22 stocks short, and the relative metric suggests 22 stocks long and 23 stocks short. I would therefore expect the combined sheet to suggest 23 long and 23 short, however this is not the case; it actually returns 23 long and 22 short. Any clues as to why the above code does not work as wanted..?
Bookmarks