Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/arrays/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Arrays 记下号码、日期和时间;从顶部搜索等于或大于的数字;显示编号左侧2行的信息_Arrays_Google Sheets_Filter_Google Sheets Formula - Fatal编程技术网

Arrays 记下号码、日期和时间;从顶部搜索等于或大于的数字;显示编号左侧2行的信息

Arrays 记下号码、日期和时间;从顶部搜索等于或大于的数字;显示编号左侧2行的信息,arrays,google-sheets,filter,google-sheets-formula,Arrays,Google Sheets,Filter,Google Sheets Formula,我在I栏中有编号4679286,在H栏中有日期2017年10月9日,在G栏中有时间15:00 列E包含数字、D和C–日期和时间,我们将在其中搜索 我们需要从2017年10月9日15:00开始搜索数字,该数字等于或大于4679286。自上而下 正确答案将是样本上的4715,30(检查屏幕截图或链接) 找到这个数字后,我们需要在左边的2个单元格中填入 从编号行开始的日期和时间 谷歌表单示例: 使用: =INDEX(FILTER(E:E; C:C>=G2; D:D>=H2; E

我在I栏中有编号4679286,在H栏中有日期2017年10月9日,在G栏中有时间15:00

E包含数字、DC–日期和时间,我们将在其中搜索


我们需要从2017年10月9日15:00开始搜索数字,该数字等于或大于4679286。自上而下


正确答案将是样本上的
4715,30
(检查屏幕截图或链接)

找到这个数字后,我们需要在左边的2个单元格中填入 从编号行开始的日期和时间


  • 谷歌表单示例:
使用:

=INDEX(FILTER(E:E; C:C>=G2; D:D>=H2; E:E>=I2); 2; 1)

谢谢,它很有效!有可能把目标的最后一点说出来吗将结果显示为创建行的时间和日期,在2个单元格中,而不是创建价格?公式有一个错误:如果G2>结果时间,则显示G2=结果时间。例如,时间为2017年10月10日15:00,搜索对象为2017年10月12日07:00,因此仍显示2017年10月12日15:00。但如果搜索时间是2017年10月12日06:00,它将在2017年10月12日07:00向我显示正确的结果。尝试:
=索引(过滤器(C:D;C:C>G2;D:D>=H2;E:E>=I2);2)
解决方案是从公式中完全删除“C:C>G2;”。现在解决了。