Can anyone suggest to me how I can convert this query into something that will work in an arrayformula?
=iferror(QUERY(importorders!A:H,"Select count(A) where C = 'Thailand Tour' and month(H) = "&MONTH(A3)-1&"and year(H) = "&year(A3)&" label count(A) ''",1),0)
It's basically just counting to see how many orders I had in each month.
Thanks for looking.
You have to use group by
To get just for Thailand Tour
To get results for the whole column try this
(A demo sheet with expected results would be really helpful)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.