相关疑难解决方法(0)

TextJoin UDF For Excel 2013

I am trying to utilize a UDF version of TextJoin since I am using Excel 2013 - but this function is not properly returning the accurate data.

My data-set in Excel looks like this

saleID      Item
5           PRE2323
6           Pre2323223
6           OX12321
6           RI132
9           TN23
9           LSR12
Run Code Online (Sandbox Code Playgroud)

And my desired output is

saleID     Items
5          Pre2323
6          Pre2323223, OX12321, RI132
9          TN23, LSR12
Run Code Online (Sandbox Code Playgroud)

And this is the UDF I Have that is not functioning as it should

    Option Explicit …
Run Code Online (Sandbox Code Playgroud)

excel vba excel-formula excel-2013

4
推荐指数
1
解决办法
3794
查看次数

标签 统计

excel ×1

excel-2013 ×1

excel-formula ×1

vba ×1