I have a table that has 30+ columns and I'm using the filter function, however; I want to return non adjacent columns on different workbooks with two consistent columns on every sheet and the third would vary. I know about using the {} to return specific columns, but is it possible to use either match or xmatch to pick up the third column versus hardcoding the column numbers in.
For example...this works...=FILTER(INDEX(Transactions, SEQUENCE(ROWS(Transactions)), {1,2,15}),((ISNUMBER(SEARCH(" Ending Balance",Transactions[Transaction]))))*(Transactions[Carter Scholarship - Sloan]<>0))
But instead of hardcoding that third column for each different of the 30+ worksheets, is there a way to make that dynamic? In this example, column 15 = "Carter Scholarship - Sloan".
And on each worksheet, I have the table header in cell A1 to identify the worksheet. In this case "Carter Scholarship - Sloan" would be in A1, that I could use as the lookup value, with the lookup array being Transactions[#Headers].
Thank you for any help in advance!
Ted Stein
For example...this works...=FILTER(INDEX(Transactions, SEQUENCE(ROWS(Transactions)), {1,2,15}),((ISNUMBER(SEARCH(" Ending Balance",Transactions[Transaction]))))*(Transactions[Carter Scholarship - Sloan]<>0))
But instead of hardcoding that third column for each different of the 30+ worksheets, is there a way to make that dynamic? In this example, column 15 = "Carter Scholarship - Sloan".
And on each worksheet, I have the table header in cell A1 to identify the worksheet. In this case "Carter Scholarship - Sloan" would be in A1, that I could use as the lookup value, with the lookup array being Transactions[#Headers].
Thank you for any help in advance!
Ted Stein