[英]how to query with a date referencing a range of dates in google sheets
here is the link> 这是链接>
https://docs.google.com/a/auind.com/spreadsheets/d/1ZnV0uNwM-uS_kK3CQwx-EGy9c9PAK4enCzSIv0bCva0/edit https://docs.google.com/a/auind.com/spreadsheets/d/1ZnV0uNwM-uS_kK3CQwx-EGy9c9PAK4enCzSIv0bCva0/edit
i want rows from sheet one to transfer over to sheet two but only show me the rows with column L with a value between 1-150000 and with Col C with a date between d3 and d4. 我希望从工作表1的行转移到工作表2,但仅向我显示列L的值在1-150000之间,列C的行在d3和d4之间的日期。 d3 and d4 change everyday so thus the data being imported over would change accordingly.
d3和d4每天都会更改,因此导入的数据也会相应更改。 te formula should go into a6 on sheet two.
公式应放在第二页的a6中。 since rows 1-5 on both sheets are frozen headers.
由于两张纸上的1-5行均为冻结标题。
I would use FILTER function in this special case. 在这种特殊情况下,我将使用FILTER函数。 Try this for the A6 cell on sheet two:
对于第二页上的A6电池,请尝试以下操作:
=FILTER('Foreclosure Leads'!A6:L,'Foreclosure Leads'!L6:L>=1,'Foreclosure Leads'!L6:L<=150000,'Foreclosure Leads'!C6:C>='Foreclosure Leads'!D3,'Foreclosure Leads'!C6:C<='Foreclosure Leads'!D4) = FILTER('止赎带头'!A6:L,'止赎带头'!L6:L> = 1,'止赎带头'!L6:L <= 150000,'止赎带头'!C6:C> ='止赎带头' D3,'止赎带头'!C6:C <='止赎带头'!D4)
This does the following: 这将执行以下操作:
'Foreclosure Leads'!A6:L - First it tells that we are investigating the rows from 'Foreclosure Leads' worksheet. “抵押品赎回权线索”!A6:L-首先,它表明我们正在调查“抵押品赎回权线索”工作表中的行。 First row is the 6th, the last is undefined.
第一行是第六行,最后一行是未定义的。 The columbs from A to L will be copied.
从A到L的列将被复制。
Then there are the conditions: 然后有条件:
Hope it helps. 希望能帮助到你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.