textjoin string仅适用于匹配今天日期的值

发布于 2025-01-28 19:44:56 字数 895 浏览 4 评论 0原文

示例表

日期创建(a)跟踪ID(b)
12/2022'813VZ633-7872'5
//
2022'914BZ756-7423'5/
512 /12/2022'2022'875VU340-5687 6542'5/
11/2022'905TG183-9634'

我想创建一个看起来像这样的字符串:

message.TrackingId而不是['813vz6333-7872','914BZ756-7423','875VU340-540-5687']

filter 通过使用公式来实现:

="filter message.trackingId not in ["&TEXTJOIN(", ", TRUE, B2:B4)&"]"

但是我希望它仅在我尝试过的日期a a a a a a a a a a a targe时自动从b列拉动

="filter message.trackingId not in ["&TEXTJOIN(", ", TRUE, IF(A:A=TODAY(),TEXTJOIN("", TRUE,B2:B))&"]")

但是,这是在B列中的所有值,而不仅仅是今天的日期,

我知道我很接近,只需要一个推动

Sample Table

Date Created (A)Tracking ID (B)
5/12/2022'813vz633-7872'
5/12/2022'914bz756-7423'
5/12/2022'875vu340-5687'
5/11/2022'475dv235-6542'
5/11/2022'905tg183-9634'

I want to create a string that looks like this:

filter message.trackingId not in ['813vz633-7872', '914bz756-7423', '875vu340-5687']

This is achieved by using formula:

="filter message.trackingId not in ["&TEXTJOIN(", ", TRUE, B2:B4)&"]"

But I want it to automatically pull from Column B only if Column A is todays date

I tried:

="filter message.trackingId not in ["&TEXTJOIN(", ", TRUE, IF(A:A=TODAY(),TEXTJOIN("", TRUE,B2:B))&"]")

But that pulls in all values in Column B, not just for todays date

I know I am close, just need a push

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

审判长 2025-02-04 19:44:56

使用:

=TEXTJOIN(", ", 1, FILTER(B:B, A:A=TODAY()))

="filter message.trackingId not in ["&TEXTJOIN(", ", 1, FILTER(B:B, A:A=TODAY()))&"]"

use:

=TEXTJOIN(", ", 1, FILTER(B:B, A:A=TODAY()))

="filter message.trackingId not in ["&TEXTJOIN(", ", 1, FILTER(B:B, A:A=TODAY()))&"]"
枯叶蝶 2025-02-04 19:44:56

尝试以下内容:

=“ filter Message.TrackingId不在[& textjoin(“,”,true,filter(b:b,a:a = tabory())))&“]”

具有讽刺意味的是,该解决方案包括过滤器,您的文本部分包含。

(jinx,player0!)

Try the following:

="filter message.trackingId not in ["&TEXTJOIN(", ", TRUE, FILTER(B:B, A:A=TODAY()))&"]"

Ironically, the solution includes FILTER, which your text portion contains.

(Jinx, player0!)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文