简体   繁体   English

ethercalc中的vlookup行为很奇怪

[英]vlookup in ethercalc acts weird

I have a small ethercalc table (see https://www.ethercalc.org/6ucz5hse3q ) and want to use vlookup, but I get a #REF! 我有一个小的ethercalc表(请参阅https://www.ethercalc.org/6ucz5hse3q ),想使用vlookup,但是我得到了#REF! Error. 错误。 I can't see why. 我不明白为什么。

In short: the table looks like: 简而言之:该表如下所示:

Date       ||Value
01-Sep 2015||1
   ...
28-Sep 2015||28

This is just an example to produce the error. 这只是产生错误的一个示例。 What i did is: 我所做的是:

=vlookup(today(), $A$2:$A$31, 3, 0)

Instead of getting the right number, I get a #REF! 我没有得到正确的号码,而是得到了#REF! Error. 错误。 But if I set the column value to 1: 但是,如果我将列值设置为1:

=vlookup(today(), $A$2:$A$31, 1, 0)

I get the correct date value. 我得到正确的日期值。 What am I missing here? 我在这里想念什么? I would appreciate any suggestion. 我将不胜感激任何建议。

thanks in advance Hannes 在此先感谢Hannes

$ A $ 2:$ A $ 31不包括第三列,将其更改为$ A $ 2:$ C $ 31(就像我在6ucz5hse3q上所做的那样)将解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM