Just something that i found especially if you find that you have done everything correct with your syntax and links. When attempting to import multiple ranges or sheets, it could be throwing this error due to a lack of permissions granted. It is likely that you have link-sharing turned off for the source spreadsheets that you desire to import and query. In ...
There isn't a "pretty print" built-in feature for Google Sheets formulas. IMHO opinion the simplest way to improve formula readability are those already described in How can I pretty-print a formula in Google Sheets? and How to build formula in Google Sheets using content of other cells:
Insert spaces and breaklines
If you edit the formula to introduce ...
You can't order a query by month names because that would order them either alphabetically from A - Z or from Z - A. To achieve your ordering from January to December, you first need to create a mapping as follows:
Then you can order by month number to get the sorting correctly.
You can use the following formula in cell AE4
"select "&TEXTJOIN(",", 1, IF(LEN(A4:A),
(If this is what you are looking for, I will update with image and more info as well)
Assuming row 1 is the headers, what you need is a basic QUERY formula in cell E2:
=QUERY(A2:A,"select A, count(A) where A<>'' group by A label count(A) ''")
You could also replace the condition where A<>'' with where A is not null
=QUERY(A2:A,"select A, count(A) where A is not null group by A label count(A) ''")
Learn more about QUERY
(Assuming your data is in column Z and cells 10-17).
Use this formula for A-.375-VG in one tab:
=QUERY(Z10:Z17,"SELECT Z where Z like 'A-.375-VG%' ")
and for A-.75-VG in the other
=QUERY(Z10:Z17,"SELECT Z where Z like 'A-.75-VG%' ")