Concatenate multiple results from an index match

前端 未结 1 837
梦毁少年i
梦毁少年i 2020-12-10 09:01

I\'m trying to concat multiple results from an index match into one cell. Here is an example data set I\'m working with:

My desired results:

<
1条回答
  •  囚心锁ツ
    2020-12-10 09:24

    Use the newer TEXTJOIN function as an array formula with CSE.

    =textjoin("|", true, if(a2:a10=date(2017, 4, 12), c2:c10, text(,)))
    

    If your Excel version does not support TEXTJOIN, search this site for [excel][textjoin] for alternatives. Example: TEXTJOIN for xl2010/xl2013 with criteria

    0 讨论(0)
提交回复
热议问题