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
Google sheets GoogleSheets-根据数量从不同范围扩展序列_Google Sheets_Google Sheets Formula - Fatal编程技术网

Google sheets GoogleSheets-根据数量从不同范围扩展序列

Google sheets GoogleSheets-根据数量从不同范围扩展序列,google-sheets,google-sheets-formula,Google Sheets,Google Sheets Formula,有数千个序列#具有开始和结束范围列;但需要在单独的单元格中完全写出。范围是由项目数量定义的,项目数量会有所不同。不确定是否更容易在右边的单元格、新选项卡或单独的列中扩展范围,但可以将其打开。附加测试文档以复制问题 像这样使用sequence()函数: =序列(1,D2-C2+1,C2)尝试: =INDEX(IF(C2:C="",,IF(SPLIT(REPT("פ", D2:D-C2:C+1), "×")="",,C

有数千个序列#具有开始和结束范围列;但需要在单独的单元格中完全写出。范围是由项目数量定义的,项目数量会有所不同。不确定是否更容易在右边的单元格、新选项卡或单独的列中扩展范围,但可以将其打开。附加测试文档以复制问题

像这样使用
sequence()
函数:

=序列(1,D2-C2+1,C2)
尝试:

=INDEX(IF(C2:C="",,IF(SPLIT(REPT("פ", D2:D-C2:C+1), "×")="",,C2:C-1+COLUMN(1:1))))

欢迎光临。您在示例电子表格中禁用了“编辑”和“复制”,这使得回答更加困难。您可能需要将单元格
C3
中的
125009
替换为
125009
。感谢您的帮助!