Hi,
It is challenging to address your question because "comparing" data could mean different things. Anyway, if you want to sort the Z results by a common X and Y, you may want to create an aggregated value for Xs (e.g., Mean (:X1, :X2)) and for Y (e.g., Mean (:Y1, :Y2), as long as the intervals for your Xs and Ys do not overlap.
If you are interested in testing the effects of X and Y on Z, you could stack your columns Stack > X1, X2, Y1, Y2, Z1, Z2 > multiple series = 3; Contiguous.
Are these two ideas of any help?
Please feel free to reply to this post with more details.
Best
TS
Thierry R. Sornasse