I have an excel sheet as shown in the picture
I want to get the years where there is a x symbol for each row.
I have an excel sheet as shown in the picture
I want to get the years where there is a x symbol for each row.
A workaround which will not be as "clean" as using textjoin or a custom function would be using some additional space in the spreadsheet and first preparing the dates and then joining them via a regular concatenate function
Formula in Cell B4 would be
=IF(B2="x",B1&" ","")
Basically the x is replaced with the date and the seperator you want (here just blank)
Formula in Cell H4 would be
=CONCATENATE(B4,C4,D4,E4,F4)
Here you join the dates (unfortunately range selection like B4:F4 is not possible).
It is a little bit "ugly" but will get the job done.