[英]Query Importrange in Google Sheets
數據集 1
Date - City - Amount
01-06-2022 - Bangalore - 10
25-06-2022 - Chennai - 20
02-07-2022 - Bangalore - 10
我正在使用“ =query(IMPORTRANGE("URL","FY 22 - 23!A:I"),"select Col1,Col2,Col3 where Col2='Bangalore' and Col1>=01-07-2022")
”
但這給了我一個錯誤。 有人可以幫忙嗎
試試下面的查詢 -
=query(IMPORTRANGE("URL","FY 22 - 23!A:I"),"select Col1,Col2,Col3 where Col2='Bangalore' and Col1>= date '" & Text(Date(2022,7,1),"yyyy-mm-dd") & "'")
={query(IMPORTRANGE("URL","FY 22 - 23!A:I"),"select Col1,Col2,Col3 where Col2 = 'Bangalore' and Col1>= Date '"&text("01-07-2022 ","YYYY-MM-DD")&"' ")}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.