像Google表的索引匹配一样,将返回标题
如果我的参考单元为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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试:
try:
这是另一个可能的解决方案:
Here's another possible solution: