
[英]How can I uso VLOOKUP + QUERY + IMPORTRANGE using multiple conditions in non-sequential columns in Google Sheets?
[英]How can I query from multiple Google sheets?
我想從多個工作表中查詢數據,但找不到正確的公式。 我使用了下面的公式,它可以很好地從一張表中查詢。
=QUERY('2022'!A1:S38, "Select B,H where R='N' and S=TRUE order by H")
然后我使用下面的公式希望我可以從 2 張表中得出信息,但它沒有用。 感謝有人可以幫助我解決這個問題
=QUERY({'2022'!A1:S38;'2023'!A1:S38}, "Select B,H where R='N' and S=TRUE order by H")
使用Col
引用:
=QUERY({'2022'!A1:S38; '2023'!A1:S38},
"select Col2,Col8
where Col18='N'
and Col19=TRUE
order by Col8")
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.