Originally Posted by
CAntosh
Like FlameRetired, I'm not 100% sure I fully understand what you're looking for, but see if Sheet1 on the attachment will work. I merged the columns using the formula below in A2, filled down and filled right to cover columns A and B:
=IFERROR(INDEX(SwingData!$A$2:$C$534,ROWS(A$2:A2),COLUMN(A2)),IFERROR(INDEX(SwingData!$E$2:$G$597,ROWS(A$2:A2)-ROWS(SwingData!$A$2:$C$534),COLUMN(A2)),"-"))
I then split the formula, using the following in C2:
=IFERROR(INDEX(SwingData!$A$2:$C$534,ROWS(C$2:C2),COLUMN(C2)),0)
and D2:
=IFERROR(IF(C2>0,0,INDEX(SwingData!$E$2:$G$597,ROWS(C$2:C2)-ROWS(SwingData!$A$2:$C$534),COLUMN(C2))),0)
and E2 for Swing:
=D2-C2
Fill down. This creates an unsorted but merged data table. You can then use a standard pivot table to get the data sorted. The downside to my current approach is that your ranges must be precise in the formula, so you'd have to change them as you add data. That nuisance could be fixed by creating dynamic named ranges for each of your tables. Give the attachment a look, see if it'll do:
Bookmarks