I want to extract the data in this table based on some criteria. First, looking at row number one. I want the output to be exactly as it is now, the only difference is that I want each group on each row to be tested agains each other. So in row one the only change I want to happen is that {2013, 8, 1, 0, 0, 0.}, {2013, 8, 2, 0, 0, 0.}, and its close date 1.77, 1.75. drops out. This because we are missing does dates in group two in row one. Essentially what happens is that each row gets tested in the same way based on dates, so I end up with several rows where each group on each row have equal amount of closing dates and prices and those closing prices that each group has exist on the same dates. Please note, each row will end up with equal or unequal amount of closing dates from the rows below and above. As long as each group on each row has equal amount it is all good. I want this change done on every row in the table. Input: Subsets[Partition[tt, 2, 3], {2}] Output: {{{{"AAD AT Equity", "Date", $Failed, {2013, 8, 1, 0, 0, 0.}, {2013, 8, 2, 0, 0, 0.}, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}}, {"", "PX_LAST", 0.82, 1.77, 1.75, 1.72, 1.71}}, {{"ABC AT Equity", "Date", $Failed, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}, "", ""}, {"", "PX_LAST", 0.6808, 3.33, 3.35, "", ""}}}, {{{"AAD AT Equity", "Date", $Failed, {2013, 8, 1, 0, 0, 0.}, {2013, 8, 2, 0, 0, 0.}, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}}, {"", "PX_LAST", 0.82, 1.77, 1.75, 1.72, 1.71}}, {{"ABP AT Equity", "Date", $Failed, {2013, 8, 2, 0, 0, 0.}, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}, ""}, {"", "PX_LAST", 5.3942, 2.22, 2.2, 2.2, ""}}}, {{{"AAD AT Equity", "Date", $Failed, {2013, 8, 1, 0, 0, 0.}, {2013, 8, 2, 0, 0, 0.}, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}}, {"", "PX_LAST", 0.82, 1.77, 1.75, 1.72, 1.71}}, {{"ACR AT Equity", "Date", $Failed, {2013, 8, 6, 0, 0, 0.}, "", "", ""}, {"", "PX_LAST", 1., 3.32, "", "", ""}}}, {{{"ABC AT Equity", "Date", $Failed, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}, "", ""}, {"", "PX_LAST", 0.6808, 3.33, 3.35, "", ""}}, {{"ABP AT Equity", "Date", $Failed, {2013, 8, 2, 0, 0, 0.}, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}, ""}, {"", "PX_LAST", 5.3942, 2.22, 2.2, 2.2, ""}}}, {{{"ABC AT Equity", "Date", $Failed, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}, "", ""}, {"", "PX_LAST", 0.6808, 3.33, 3.35, "", ""}}, {{"ACR AT Equity", "Date", $Failed, {2013, 8, 6, 0, 0, 0.}, "", "", ""}, {"", "PX_LAST", 1., 3.32, "", "", ""}}}, {{{"ABP AT Equity", "Date", $Failed, {2013, 8, 2, 0, 0, 0.}, {2013, 8, 5, 0, 0, 0.}, {2013, 8, 6, 0, 0, 0.}, ""}, {"", "PX_LAST", 5.3942, 2.22, 2.2, 2.2, ""}}, {{"ACR AT Equity", "Date", $Failed, {2013, 8, 6, 0, 0, 0.}, "", "", ""}, {"", "PX_LAST", 1., 3.32, "", "", ""}}}}