I'd like to create a column that will list the headers of the columns (for each row) in a range that are not blank (they should have dates in them, if that is relevant - but will remain blank until a date is added for a column).
I'd really like this to populate automatically using ArrayFormula (or something similar) since my spreadsheet gets added to all the time and those adding to it are unlikely to remember to spread all of the necessary formulas every time. My dummy sheet is here.
Columns E:G
contain dates when A, B and C thing happened, for each person/row. I want to list the names of the columns of the things that have happened for that person. However I don't know how to make it so that it ignores blank cells.
Putting in the combination of every possible blank cell + non-blank cell combo is not really possible because in the real dataset I have more than 3 such columns and they will also be added to, to an arbitrary number of them.
You can see the desired output (I put in manually) in column M. My inadequate attempts are in P and Q. I have not yet figured out how to even do this for one cell, let alone an ArrayFormula that would do it for me.
I imagine this can be done using ArrayFormula but I'm happy to accept other solutions that work as well.