像Google表的索引匹配一样,将返回标题

发布于 2025-01-30 01:41:20 字数 259 浏览 2 评论 0原文

如果我的参考单元为58和137,我希望它返回1。

第一列是第一个重新度点,其余的是第二个参考点,但是我需要“圆形”参考单元的值到下一个数字。

因此,对于第56行,任何内容=< 87将返回0和88-140将返回1 ECT

    0   1   3   4   
56  87  140 179 186
57  91  145 185 192
58  94  150 192 199
59  97  155 199 206

If I have reference cells that say 58 and 137, I would want it to return 1.

The first column is the first refence point and the rest is the second reference point, but i need it to "round" the value of the reference cell to the next number.

So for ROW 56, anything =<87 would return 0 and 88-140 would return 1 ect

    0   1   3   4   
56  87  140 179 186
57  91  145 185 192
58  94  150 192 199
59  97  155 199 206

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

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

发布评论

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

评论(2

坏尐絯 2025-02-06 01:41:20

尝试:

=INDEX(IFNA(VLOOKUP(B9, SPLIT(FLATTEN(FILTER(A2:D7&"×"&A1:D1, ROW(A2:A7)=A9)), "×"), 2, 1), A1))

try:

=INDEX(IFNA(VLOOKUP(B9, SPLIT(FLATTEN(FILTER(A2:D7&"×"&A1:D1, ROW(A2:A7)=A9)), "×"), 2, 1), A1))

enter image description here

千仐 2025-02-06 01:41:20

这是另一个可能的解决方案:

=min(index(
  if(B62<=
   sort(flatten(filter(A56:D59,row(A56:D59)=A62)),row(A56:D59),),
   sort(flatten(A55:D55),flatten(column(A55:D55)),)
  )  
 )
)

“在此处输入图像描述”

Here's another possible solution:

=min(index(
  if(B62<=
   sort(flatten(filter(A56:D59,row(A56:D59)=A62)),row(A56:D59),),
   sort(flatten(A55:D55),flatten(column(A55:D55)),)
  )  
 )
)

enter image description here

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