Concatenate column headers if value in rows below is non-blank

UseĀ¹ the following as an array formula. =TEXTJOIN(“–>”, TRUE, IF(LEN(C3:I3), C$2:I$2, “”)) Pre-Excel 2016 versions While you could just string together a series of IF statements, a cleaner alternate might be to write a user defined function (aka UDF). In a standard VBA module code sheet: Function udf_Stitch_Together(r As Range, _ h As Range, _ … Read more

TEXTJOIN for xl2010/xl2013 with criteria

This TextJoinIfs user-defined-function (aka UDF) provides basic TEXTJOIN functionality to Excel 2003 – 2013 versions as well as expanded functionality for all versions by adding optional error control, uniqueness, sorting and a paramarray of conditions for easy criteria. This TextJoinIfs UDF code belongs in a public module code sheet; e.g. Book1 – Module1 (code). Option … Read more