For each ID, I need to find out which Type and Sequence it should be based on the second table. For example, ID 123 should be in Sequence 2 of Type A, ID 879 should be in Sequence 2 of Type B. I'm thinking using the function, Interval Match, but i'm not too sure.