I'm not sure how to start this code.

I have a lot of rows/columns of data, but I need help coding it so that all I'd have to enter in is the record temperature, and then within each specific row, to find the times that specific record temperature comes up, and to automatically output the years (columns) that it showed up in in specific cells.

Can anyone help me, or at least help me get started?

Thanks!