Nest CHOOSECOLS inside UNIQUE to extract non-adjacent columns, and use INDIRECT for interactive header dropdowns.
This video explains how the dollar sign is used in Excel formulas to control whether cell references stay fixed or change ...