I would like to have a data set, with dates as column headers and unique codes as row headers, that can switch between different values. For example, Retail ($) and Tonnage. My first thought was to use Macros to populate a cell above the column headers that would be referenced in a VLOOKUP to designate a column to look in. However, that would only work if I had a Macro button for each date. Therefore, I tried to make the Macro button populate a cell with an HLOOKUP and that cell would be references in a VLOOKUP for the column index number. However, the equation would not work.