Hi James,
I ran through the formula and it makes sense. I displayed the results of Var1 it makes sense because Var1 will always match FSD_ID.
So now the question becomes, based on the sample data you supplied, how do you expect the results in your example? I'm still not sure on how to get from Point A to Point B. I do have an idea of what you want but I need more information on the layout of the report to give you a better answer.
Thanks,
Brian