如何针对数值进行索引匹配并显示是/否结果

发布于 2025-01-20 19:01:13 字数 252 浏览 1 评论 0原文

我需要将一张纸中的列与另一张纸上的信息进行匹配。

我已经这样做了: =INDEX(Sheet3!$G:$G, MATCH([@[Product Name]],Sheet3!$B:$B,0))

这允许我将实际的数值带过来。

我需要此公式的另一个版本,该版本几乎相同,所有内容都与产品名称匹配,但应根据匹配字段是否为 NULL 或其中包含任何数字来显示“是/否”。(是,如果有数字)--值在 Sheet3!H:H

谢谢!

I need to match a column in one sheet against info on another sheet.

I've already done this: =INDEX(Sheet3!$G:$G, MATCH([@[Product Name]],Sheet3!$B:$B,0))

Which allows me to bring the actual numeric value over.

I need another version of this formulas that is almost identical, everything is matching on Product name, but should display "Yes / No' based on if the matched field is NULL or has any number in it. (Yes if any number) -- The values are in Sheet3!H:H

Thank you!

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

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

发布评论

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

评论(1

撩发小公举 2025-01-27 19:01:13

将比赛包裹在isnumber()中。然后将其用作IF和返回的条件,并返回是或相应

=if(isnumber( MATCH([@[Product Name]],Sheet3!$B:$B,0)),"yes","no")

编辑:只是要确保理解价格:您可以检查任何公式是否返回一个数字,然后返回是或否。

=if(isnumber( AnyFormula ),"yes","no")

Wrap the Match into an IsNumber(). Then use that as the condition in IF and return Yes or No accordingly

=if(isnumber( MATCH([@[Product Name]],Sheet3!$B:$B,0)),"yes","no")

Edit: Just to make sure that the priciple is understood: you can check if ANY formula returns a number and then return a Yes or No.

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