I am trying to create a column that concatenates the headings from other columns, based on the location of a value within the range of data under the headings using an excel formula. My table looks like this:
2014 | 2015 | 2016 | 2017
-------------------------
1234 4567 6547 1234
2583 3698 4567 3214
9874 1234 6664 5896
Now, this table has an extensive list of rows with values.
I want to create a cell that a user can type a number in and it will return the row heading(s) in the cell adjacent to it. if the number occurs in more than one column, than concatenate the headings using a comma separator. i.e.
Enter Number: Years Occurred
1234 2014,2015,2017
Rules: Each column has a list of unique numbers. No number occurs in a column more than once.
The best example I can find is here, where the formula returns the heading for the max value of the range of data:
Thanks

