Thank you, Karlstens. Your answer really helped)Here is an updated formula for a merging cell. Here we added a check for the case when one of the cells to be merged is empty.IF({Tag 1},{Tag 1},"")& IF(AND({Tag 1},{Tag 2}),", ","")& IF({Tag 2},{Tag 2}...